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:
Eli Schwartz
2023-11-28 20:52:10 -05:00
committed by Sam James
parent 58961f6993
commit 9b9521345f

View File

@@ -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