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

Laurent Carlier lcarlier at archlinux.org
Wed Apr 28 07:33:18 UTC 2021


    Date: Wednesday, April 28, 2021 @ 07:33:18
  Author: lcarlier
Revision: 413967

archrelease: copy trunk to testing-any

Added:
  linux-firmware/repos/testing-any/PKGBUILD
    (from rev 413966, linux-firmware/trunk/PKGBUILD)
Deleted:
  linux-firmware/repos/testing-any/PKGBUILD

----------+
 PKGBUILD |  155 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 76 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-28 07:33:14 UTC (rev 413966)
+++ PKGBUILD	2021-04-28 07:33:18 UTC (rev 413967)
@@ -1,79 +0,0 @@
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-
-pkgbase=linux-firmware
-pkgname=(linux-firmware amd-ucode)
-_tag=20210315
-pkgver=20210315.3568f96
-pkgrel=3
-pkgdesc="Firmware files for Linux"
-url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
-license=('GPL2' 'GPL3' 'custom')
-arch=('any')
-makedepends=('git')
-options=(!strip)
-source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#tag=${_tag}?signed")
-sha256sums=('SKIP')
-validpgpkeys=('4CDE8575E547BF835FE15807A31B6BD72486CFD6') # Josh Boyer <jwboyer at fedoraproject.org>
-
-_backports=(
-  a29bdb2e59be9e3f5a1f3d021e63ab4b05df3468 # amdgpu: add initial support for navy flounder
-  af1ca28f03287b0c60682ab37cc684c773de853f # amdgpu: add arcturus firmware
-  73144e02dcff54529ab42d951de682740d204180 # linux-firmware: Update firmware file for Intel Bluetooth AX201
-  47650a0b94c0049ac9162256d96c456364c91499 # linux-firmware: Update firmware file for Intel Bluetooth AX201
-  fa0efeff4894e36b9c3964376f2c99fae101d147 # linux-firmware: Update firmware file for Intel Bluetooth AX210
-)
-
-prepare() {
-  cd ${pkgname}
-
-  local _c
-  for _c in "${_backports[@]}"; do
-    git log --oneline -1 "${_c}"
-    git cherry-pick -n "${_c}"
-  done
-}
-
-pkgver() {
-  cd ${pkgname}
-
-  # Commit date + short rev
-  echo $(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD).$(git rev-parse --short HEAD)
-}
-
-build() {
-  mkdir -p kernel/x86/microcode
-  cat ${pkgbase}/amd-ucode/microcode_amd*.bin > kernel/x86/microcode/AuthenticAMD.bin
-
-  # Reproducibility: set the timestamp on the bin file
-  if [[ -n ${SOURCE_DATE_EPOCH} ]]; then 
-    touch -d @${SOURCE_DATE_EPOCH} kernel/x86/microcode/AuthenticAMD.bin
-  fi
-
-  # Reproducibility: strip the inode and device numbers from the cpio archive
-  echo kernel/x86/microcode/AuthenticAMD.bin |
-    bsdtar --uid 0 --gid 0 -cnf - -T - |
-    bsdtar --null -cf - --format=newc @- > amd-ucode.img
-}
-
-package_linux-firmware() {
-  cd ${pkgname}
-
-  make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install
-
-  # Trigger a microcode reload for configurations not using early updates
-  echo 'w /sys/devices/system/cpu/microcode/reload - - - - 1' |
-    install -Dm644 /dev/stdin "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
-
-  install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICEN* WHENCE
-}
-
-package_amd-ucode() {
-  pkgdesc="Microcode update image for AMD CPUs"
-  license=(custom)
-
-  install -Dt "${pkgdir}/boot" -m644 amd-ucode.img
-
-  install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 ${pkgbase}/LICENSE.amd-ucode
-}
-
-# vim:set sw=2 et:

Copied: linux-firmware/repos/testing-any/PKGBUILD (from rev 413966, linux-firmware/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-28 07:33:18 UTC (rev 413967)
@@ -0,0 +1,76 @@
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgbase=linux-firmware
+pkgname=(linux-firmware amd-ucode)
+#_tag=20210315
+_commit=fa0efeff4894e36b9c3964376f2c99fae101d147
+pkgver=20210426.fa0efef
+pkgrel=1
+pkgdesc="Firmware files for Linux"
+url="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
+license=('GPL2' 'GPL3' 'custom')
+arch=('any')
+makedepends=('git')
+options=(!strip)
+#source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#tag=${_tag}?signed")
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#commit=${_commit}?signed")
+sha256sums=('SKIP')
+validpgpkeys=('4CDE8575E547BF835FE15807A31B6BD72486CFD6') # Josh Boyer <jwboyer at fedoraproject.org>
+
+_backports=(
+)
+
+prepare() {
+  cd ${pkgname}
+
+  local _c
+  for _c in "${_backports[@]}"; do
+    git log --oneline -1 "${_c}"
+    git cherry-pick -n "${_c}"
+  done
+}
+
+pkgver() {
+  cd ${pkgname}
+
+  # Commit date + short rev
+  echo $(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+  mkdir -p kernel/x86/microcode
+  cat ${pkgbase}/amd-ucode/microcode_amd*.bin > kernel/x86/microcode/AuthenticAMD.bin
+
+  # Reproducibility: set the timestamp on the bin file
+  if [[ -n ${SOURCE_DATE_EPOCH} ]]; then 
+    touch -d @${SOURCE_DATE_EPOCH} kernel/x86/microcode/AuthenticAMD.bin
+  fi
+
+  # Reproducibility: strip the inode and device numbers from the cpio archive
+  echo kernel/x86/microcode/AuthenticAMD.bin |
+    bsdtar --uid 0 --gid 0 -cnf - -T - |
+    bsdtar --null -cf - --format=newc @- > amd-ucode.img
+}
+
+package_linux-firmware() {
+  cd ${pkgname}
+
+  make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install
+
+  # Trigger a microcode reload for configurations not using early updates
+  echo 'w /sys/devices/system/cpu/microcode/reload - - - - 1' |
+    install -Dm644 /dev/stdin "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+
+  install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICEN* WHENCE
+}
+
+package_amd-ucode() {
+  pkgdesc="Microcode update image for AMD CPUs"
+  license=(custom)
+
+  install -Dt "${pkgdir}/boot" -m644 amd-ucode.img
+
+  install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 ${pkgbase}/LICENSE.amd-ucode
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list