[arch-commits] Commit in archboot-linux-firmware/repos/extra-any (PKGBUILD PKGBUILD)

Tobias Powalowski tpowa at gemini.archlinux.org
Sat Nov 6 16:29:14 UTC 2021


    Date: Saturday, November 6, 2021 @ 16:29:14
  Author: tpowa
Revision: 427411

archrelease: copy trunk to extra-any

Added:
  archboot-linux-firmware/repos/extra-any/PKGBUILD
    (from rev 427410, archboot-linux-firmware/trunk/PKGBUILD)
Deleted:
  archboot-linux-firmware/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 16:29:07 UTC (rev 427410)
+++ PKGBUILD	2021-11-06 16:29:14 UTC (rev 427411)
@@ -1,39 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=(archboot-linux-firmware)
-pkgver=20210919.d526e04
-pkgrel=5
-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')
-arch=('any')
-makedepends=('linux-firmware' 'kmod' 'linux' 'tar')
-conflicts=('linux-firmware')
-options=(!strip)
-
-package() {
-  cd /lib/modules/*
-  # get firmware files from modules
-  for i in $(find -name '*.ko.zst');do
-    FIRMWARE="$FIRMWARE $(echo $(modinfo -F firmware $(pwd)/$i))"
-  done
-  mkdir -p ${pkgdir}/usr
-  for i in $(echo $FIRMWARE);do
-  [[ -e /lib/firmware/$i ]] &&  tar -C / -clpf - lib/firmware/$i | tar -C ${pkgdir}/usr -vxlspf -
-  done
-  # fix symlinks
-  tar -C / -clpf - lib/firmware/cypress | tar -C ${pkgdir}/usr -vxlspf -
-  tar -C / -clpf - lib/firmware/cxgb4/t4fw-1.26.0.0.bin | tar -C ${pkgdir}/usr -vxlspf -
-  tar -C / -clpf - lib/firmware/cxgb4/t5fw-1.26.0.0.bin | tar -C ${pkgdir}/usr -vxlspf -
-  tar -C / -clpf - lib/firmware/cxgb4/t6fw-1.26.0.0.bin | tar -C ${pkgdir}/usr -vxlspf -
-  tar -C / -clpf - lib/firmware/netronome/nic | tar -C ${pkgdir}/usr -vxlspf -
-  tar -C / -clpf - lib/firmware/intel/ice/ddp/ice-1.3.26.0.pkg | tar -C ${pkgdir}/usr -vxlspf -
-  tar -C / -clpf - lib/firmware/rtl_bt/rtl8821c_config.bin | tar -C ${pkgdir}/usr -vxlspf -
-  # compress firmware with xz, wait for mkinitcpio support to be implemented
-  # #FS 72263
-  # find ${pkgdir}/usr -type f -execdir xz -C crc32 -z {} \+ 
-  # add licenses
-  mkdir -p ${pkgdir}/usr/share/licenses/archboot-linux-firmware
-  tar -C /usr/share/licenses/linux-firmware -clpf - ./ | tar -C ${pkgdir}/usr/share/licenses/archboot-linux-firmware -vxlspf -
-}
-# vim:set sw=2 et:

Copied: archboot-linux-firmware/repos/extra-any/PKGBUILD (from rev 427410, archboot-linux-firmware/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-06 16:29:14 UTC (rev 427411)
@@ -0,0 +1,39 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=(archboot-linux-firmware)
+pkgver=20211027.1d00989
+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')
+arch=('any')
+makedepends=('linux-firmware' 'kmod' 'linux' 'tar')
+conflicts=('linux-firmware')
+options=(!strip)
+
+package() {
+  cd /lib/modules/*
+  # get firmware files from modules
+  for i in $(find -name '*.ko.zst');do
+    FIRMWARE="$FIRMWARE $(echo $(modinfo -F firmware $(pwd)/$i))"
+  done
+  mkdir -p ${pkgdir}/usr
+  for i in $(echo $FIRMWARE);do
+  [[ -e /lib/firmware/$i ]] &&  tar -C / -clpf - lib/firmware/$i | tar -C ${pkgdir}/usr -vxlspf -
+  done
+  # fix symlinks
+  tar -C / -clpf - lib/firmware/cypress | tar -C ${pkgdir}/usr -vxlspf -
+  tar -C / -clpf - lib/firmware/cxgb4/t4fw-1.26.2.0.bin | tar -C ${pkgdir}/usr -vxlspf -
+  tar -C / -clpf - lib/firmware/cxgb4/t5fw-1.26.2.0.bin | tar -C ${pkgdir}/usr -vxlspf -
+  tar -C / -clpf - lib/firmware/cxgb4/t6fw-1.26.2.0.bin | tar -C ${pkgdir}/usr -vxlspf -
+  tar -C / -clpf - lib/firmware/netronome/nic | tar -C ${pkgdir}/usr -vxlspf -
+  tar -C / -clpf - lib/firmware/intel/ice/ddp/ice-1.3.26.0.pkg | tar -C ${pkgdir}/usr -vxlspf -
+  tar -C / -clpf - lib/firmware/rtl_bt/rtl8821c_config.bin | tar -C ${pkgdir}/usr -vxlspf -
+  # compress firmware with xz, wait for mkinitcpio support to be implemented
+  # #FS 72263
+  # find ${pkgdir}/usr -type f -execdir xz -C crc32 -z {} \+ 
+  # add licenses
+  mkdir -p ${pkgdir}/usr/share/licenses/archboot-linux-firmware
+  tar -C /usr/share/licenses/linux-firmware -clpf - ./ | tar -C ${pkgdir}/usr/share/licenses/archboot-linux-firmware -vxlspf -
+}
+# vim:set sw=2 et:



More information about the arch-commits mailing list