author | Laurent Carlier
<lordheavym@archlinux.org> 2022-06-21 15:47:24 UTC |
committer | Laurent Carlier
<lordheavym@archlinux.org> 2022-06-21 15:47:24 UTC |
parent | f5de9c9afa6ecf6037185657a7389fd0d194bf74 |
0001-Add-support-for-compressing-firmware-in-copy-firmware.patch | +6 | -6 |
PKGBUILD | +3 | -3 |
diff --git a/0001-Add-support-for-compressing-firmware-in-copy-firmware.patch b/0001-Add-support-for-compressing-firmware-in-copy-firmware.patch index 93d82e4..17fb733 100644 --- a/0001-Add-support-for-compressing-firmware-in-copy-firmware.patch +++ b/0001-Add-support-for-compressing-firmware-in-copy-firmware.patch @@ -68,11 +68,11 @@ index 9b46b63..0dd2e5c 100755 grep '^File:' WHENCE | sed -e's/^File: *//g' -e's/"//g' | while read f; do - test -f "$f" || continue - $verbose "copying file $f" -- mkdir -p $destdir/$(dirname "$f") +- install -d $destdir/$(dirname "$f") - cp -d "$f" $destdir/"$f" + test -f "$f$cmpxtn" || continue + $verbose "copying file $f$cmpxtn" -+ mkdir -p $destdir/$(dirname "$f$cmpxtn") ++ install -d $destdir/$(dirname "$f$cmpxtn") + cp -d "$f$cmpxtn" $destdir/"$f$cmpxtn" done @@ -80,11 +80,11 @@ index 9b46b63..0dd2e5c 100755 - if test -L "$f"; then - test -f "$destdir/$f" && continue - $verbose "copying link $f" -- mkdir -p $destdir/$(dirname "$f") +- install -d $destdir/$(dirname "$f") + if test -L "$f$cmpxtn"; then + test -f "$destdir/$f$cmpxtn" && continue + $verbose "copying link $f$cmpxtn" -+ mkdir -p $destdir/$(dirname "$f$cmpxtn") ++ install -d $destdir/$(dirname "$f$cmpxtn") cp -d "$f" $destdir/"$f" if test "x$d" != "x"; then @@ -110,10 +110,10 @@ index 9b46b63..0dd2e5c 100755 fi else - $verbose "creating link $f -> $d" -- mkdir -p $destdir/$(dirname "$f") +- install -d $destdir/$(dirname "$f") - ln -sf "$d" "$destdir/$f" + $verbose "creating link $f$cmpxtn -> $d$cmpxtn" -+ mkdir -p $destdir/$(dirname "$f$cmpxtn") ++ install -d $destdir/$(dirname "$f$cmpxtn") + ln -sf "$d$cmpxtn" "$destdir/$f$cmpxtn" fi done diff --git a/PKGBUILD b/PKGBUILD index 9955be9..4dcb220 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,8 +4,8 @@ pkgbase=linux-firmware pkgname=(linux-firmware-whence linux-firmware amd-ucode linux-firmware-{nfp,mellanox,marvell,qcom,liquidio,qlogic,bnx2x} ) -_tag=20220509 -pkgver=20220509.b19cbdc +_tag=20220610 +pkgver=20220610.7b71b75 pkgrel=1 pkgdesc="Firmware files for Linux" url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary" @@ -16,7 +16,7 @@ options=(!strip) source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#tag=${_tag}?signed" 0001-Add-support-for-compressing-firmware-in-copy-firmware.patch) sha256sums=('SKIP' - '41c73f88ac68a3aef01fd406ce6cdb87555c65e4816dab12df10740875551aa7') + 'aa11b2eed9c0be42571b45eb7153908a43290f02a5fc715aefcaa81030a1832f') validpgpkeys=('4CDE8575E547BF835FE15807A31B6BD72486CFD6') # Josh Boyer <jwboyer@fedoraproject.org> _backports=(