[arch-commits] Commit in archboot-linux-firmware/trunk (PKGBUILD)

Tobias Powalowski tpowa at gemini.archlinux.org
Fri Sep 24 11:40:55 UTC 2021


    Date: Friday, September 24, 2021 @ 11:40:54
  Author: tpowa
Revision: 424615

upgpkg: archboot-linux-firmware 20210919.d526e04-1: release for archboot

Modified:
  archboot-linux-firmware/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-24 10:49:31 UTC (rev 424614)
+++ PKGBUILD	2021-09-24 11:40:54 UTC (rev 424615)
@@ -5,9 +5,9 @@
 pkgrel=1
 pkgdesc="Firmware files for archboot creation"
 url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
-license=('GPL2' 'GPL3' 'custom')
+license=('GPL2' 'GPL3')
 arch=('any')
-makedepends=('linux-firmware' 'kmod' 'linux')
+makedepends=('linux-firmware' 'kmod' 'linux' 'tar')
 conflicts=('linux-firmware')
 options=(!strip)
 
@@ -18,7 +18,15 @@
     FIRMWARE="$FIRMWARE $(echo $(modinfo -F firmware $(pwd)/$i))"
   done
   for i in $(echo $FIRMWARE);do
-  [[ -e /lib/firmware/$i ]] && cp -ar --parents /lib/firmware/$i ${pkgdir}
+  [[ -e /lib/firmware/$i ]] &&  tar -C / -clpf - lib/firmware/$i | tar -C ${pkgdir} -vxlspf -
   done
+  # fix symlinks
+  tar -C / -clpf - lib/firmware/cypress | tar -C ${pkgdir} -vxlspf -
+  tar -C / -clpf - lib/firmware/cxgb4/t4fw-1.26.0.0.bin | tar -C ${pkgdir} -vxlspf -
+  tar -C / -clpf - lib/firmware/cxgb4/t5fw-1.26.0.0.bin | tar -C ${pkgdir} -vxlspf -
+  tar -C / -clpf - lib/firmware/cxgb4/t6fw-1.26.0.0.bin | tar -C ${pkgdir} -vxlspf -
+  tar -C / -clpf - lib/firmware/netronome/nic | tar -C ${pkgdir} -vxlspf -
+  tar -C / -clpf - lib/firmware/intel/ice/ddp/ice-1.3.26.0.pkg | tar -C ${pkgdir} -vxlspf -
+  tar -C / -clpf - lib/firmware/rtl_bt/rtl8821c_config.bin | tar -C ${pkgdir} -vxlspf -
 }
 # vim:set sw=2 et:



More information about the arch-commits mailing list