diff options
author | Mike Pagano <mpagano@gentoo.org> | 2023-12-20 09:16:29 -0500 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2023-12-20 09:16:29 -0500 |
commit | 2db2bb82b270c2d5ac1d53cbc3ed34212918a473 (patch) | |
tree | de47472c72c771e1e2244c63ec15e273425fd698 /sys-kernel | |
parent | app-dicts/myspell-ca: Stabilize 3.0.8 ALLARCHES, #920375 (diff) | |
download | gentoo-2db2bb82b270c2d5ac1d53cbc3ed34212918a473.tar.gz gentoo-2db2bb82b270c2d5ac1d53cbc3ed34212918a473.tar.bz2 gentoo-2db2bb82b270c2d5ac1d53cbc3ed34212918a473.zip |
sys-kernel/linux-firmware: Remove unused patch
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-firmware/files/linux-firmware-remove-rdfind-dep-and-use.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sys-kernel/linux-firmware/files/linux-firmware-remove-rdfind-dep-and-use.patch b/sys-kernel/linux-firmware/files/linux-firmware-remove-rdfind-dep-and-use.patch deleted file mode 100644 index 83646a073224..000000000000 --- a/sys-kernel/linux-firmware/files/linux-firmware-remove-rdfind-dep-and-use.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/copy-firmware.sh 2023-11-25 18:07:49.362441380 -0500 -+++ b/copy-firmware.sh 2023-11-25 18:19:03.612907595 -0500 -@@ -69,7 +69,7 @@ if [ -z "$destdir" ]; then - exit 1 - fi - --if ! which rdfind 2>/dev/null >/dev/null; then -+if [ -n "$LINUX_FIRMWARE_DO_DEDUPE" ] && ! which rdfind 2>/dev/null >/dev/null; then - echo "ERROR: rdfind is not installed" - exit 1 - fi -@@ -87,13 +87,15 @@ grep -E '^(RawFile|File):' WHENCE | sed - fi - done - --$verbose "Finding duplicate files" --rdfind -makesymlinks true -makeresultsfile false "$destdir" >/dev/null --find "$destdir" -type l | while read -r l; do -- target="$(realpath "$l")" -- $verbose "Correcting path for $l" -- ln -fs "$(realpath --relative-to="$(dirname "$(realpath -s "$l")")" "$target")" "$l" --done -+if [ -n "$LINUX_FIRMWARE_DO_DEDUPE" ]; then -+ $verbose "Finding duplicate files" -+ rdfind -makesymlinks true -makeresultsfile false "$destdir" >/dev/null -+ find "$destdir" -type l | while read -r l; do -+ target="$(realpath "$l")" -+ $verbose "Correcting path for $l" -+ ln -fs "$(realpath --relative-to="$(dirname "$(realpath -s "$l")")" "$target")" "$l" -+ done -+fi - - # shellcheck disable=SC2162 # file/folder name can include escaped symbols - grep -E '^Link:' WHENCE | sed -e 's/^Link: *//g;s/-> //g' | while read f d; do |