mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/linux-firmware: update live to work after upstream changes
The USE=deduplicate patch is already invalidated by upstream commits. The good news is those upstream commits implement the same feature but without needing a patch. Start using the official upstream option instead. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -64,7 +64,6 @@ RDEPEND="!savedconfig? (
|
||||
)"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
PATCHES=( "${FILESDIR}/${PN}-remove-rdfind-dep-and-use.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
if use compress-xz || use compress-zstd ; then
|
||||
@@ -100,7 +99,6 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use deduplicate && export LINUX_FIRMWARE_DO_DEDUPE=1
|
||||
default
|
||||
|
||||
find . -type f -not -perm 0644 -print0 \
|
||||
@@ -279,7 +277,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./copy-firmware.sh -v "${ED}/lib/firmware" || die
|
||||
./copy-firmware.sh $(usex deduplicate '' '--ignore-duplicates') -v "${ED}/lib/firmware" || die
|
||||
|
||||
pushd "${ED}/lib/firmware" &>/dev/null || die
|
||||
|
||||
|
||||
Reference in New Issue
Block a user