forked from steev/python-overlay
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-kernel/linux-firmware: use github url for 99999999 version
* also fix dev-cpp/cpplint manifest file Signed-off-by: Stephen L Arnold <[email protected]>
- Loading branch information
Showing
6 changed files
with
880 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
DIST cpplint-1.6.1.tar.gz 372622 BLAKE2B 3545c4205eda1899f89a91f9f58c73d52a38c51728510d133d54d5065d4d7d9513d166da850bb8ccc27457537f0720ff010996bd494eefcf27b948cfc9ec77d2 SHA512 f3df45cbdabb437eac48a192e5d9a77e41121218f76b246472751ef69aae47e047a3be611ced600220ba77a0672caf97018194b0d18d2ad3e40d15cf9204fd13 | ||
DIST cpplint-1.6.1.tar.gz 372622 BLAKE2B f3afaba6f8389e8d925e20d94cbcf1451d11b85ca7914b53f966c575a5be7a6b4eb7367f53e549644019ccd1f76eca61415f0c5997842cb5640ab5a7ba00c1de SHA512 be5c3c9044d862fc82e66987a76f3d01d5733c26774185fa3776b16943c3cb36d391bc20009940db744853df03614b47d88988c6823f8cda20b794b9075684cb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST linux-firmware-20231111.tar.xz 356057052 BLAKE2B f594a14e9d7d824f2d7b3c85dd760ecab2f9a72f67e3904774d6bf99906695d2ca48c17cf4c44ebd0d9adbb98c3353ddb5e39cd48f93499539d02b8fb54b2db4 SHA512 dd8eb7e8a51fe14479e2f4e1081a8a31f13d041ddd6180eaae6fe865dbad303c89aaaed2b9df237923f74f1cf9fe8c2e5492b4de5fce991ddb02bb091c95dc58 |
34 changes: 34 additions & 0 deletions
34
sys-kernel/linux-firmware/files/linux-firmware-remove-rdfind-dep-and-use.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- 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 |
Oops, something went wrong.