[arch-commits] Commit in linux-firmware/repos/testing-any (PKGBUILD PKGBUILD)
Christian Hesse
eworm at archlinux.org
Sat Aug 25 08:24:07 UTC 2018
Date: Saturday, August 25, 2018 @ 08:24:06
Author: eworm
Revision: 332998
archrelease: copy trunk to testing-any
Added:
linux-firmware/repos/testing-any/PKGBUILD
(from rev 332997, linux-firmware/trunk/PKGBUILD)
Deleted:
linux-firmware/repos/testing-any/PKGBUILD
----------+
PKGBUILD | 161 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 81 insertions(+), 80 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-25 08:24:03 UTC (rev 332997)
+++ PKGBUILD 2018-08-25 08:24:06 UTC (rev 332998)
@@ -1,80 +0,0 @@
-# $Id$
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-
-pkgbase=linux-firmware
-pkgname=(linux-firmware amd-ucode)
-_commit=1d17c18226c2ddf5bc127b3f934cfa88e0c0c29f # master
-pkgver=20180821.1d17c18
-pkgrel=2
-pkgdesc="Firmware files for Linux"
-makedepends=('git')
-arch=('any')
-url="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
-license=('GPL2' 'GPL3' 'custom')
-options=(!strip)
-source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#commit=${_commit}")
-md5sums=('SKIP')
-
-prepare() {
- cd "${srcdir}/${pkgname}"
-}
-
-pkgver() {
- cd "${srcdir}/${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
- echo kernel/x86/microcode/AuthenticAMD.bin | bsdcpio -o -H newc -R 0:0 > amd-ucode.img
-}
-
-package_linux-firmware() {
- conflicts=('linux-firmware-git'
- 'kernel26-firmware'
- 'ar9170-fw'
- 'iwlwifi-1000-ucode'
- 'iwlwifi-3945-ucode'
- 'iwlwifi-4965-ucode'
- 'iwlwifi-5000-ucode'
- 'iwlwifi-5150-ucode'
- 'iwlwifi-6000-ucode'
- 'rt2870usb-fw'
- 'rt2x00-rt61-fw'
- 'rt2x00-rt71w-fw')
- replaces=('kernel26-firmware'
- 'ar9170-fw'
- 'iwlwifi-1000-ucode'
- 'iwlwifi-3945-ucode'
- 'iwlwifi-4965-ucode'
- 'iwlwifi-5000-ucode'
- 'iwlwifi-5150-ucode'
- 'iwlwifi-6000-ucode'
- 'rt2870usb-fw'
- 'rt2x00-rt61-fw'
- 'rt2x00-rt71w-fw')
-
- cd "${srcdir}/${pkgname}"
-
- make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install
- rm "${pkgdir}/usr/lib/firmware/"{Makefile,README,configure,GPL-3}
-
- install -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm644 LICEN* WHENCE "${pkgdir}/usr/share/licenses/linux-firmware/"
-
- # Trigger a microcode reload for configurations not using early updates
- install -d "${pkgdir}/usr/lib/tmpfiles.d"
- echo 'w /sys/devices/system/cpu/microcode/reload - - - - 1' \
- >"${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
-}
-
-package_amd-ucode() {
- pkgdesc='Microcode update files for AMD CPUs'
-
- install -D -m0644 amd-ucode.img "${pkgdir}"/boot/amd-ucode.img
-}
-
-# vim:set ts=2 sw=2 et:
Copied: linux-firmware/repos/testing-any/PKGBUILD (from rev 332997, linux-firmware/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-25 08:24:06 UTC (rev 332998)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgbase=linux-firmware
+pkgname=(linux-firmware amd-ucode)
+_commit=1d17c18226c2ddf5bc127b3f934cfa88e0c0c29f # master
+pkgver=20180821.1d17c18
+pkgrel=3
+pkgdesc="Firmware files for Linux"
+makedepends=('git')
+arch=('any')
+url="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary"
+license=('GPL2' 'GPL3' 'custom')
+options=(!strip)
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#commit=${_commit}")
+md5sums=('SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+}
+
+pkgver() {
+ cd "${srcdir}/${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
+ echo kernel/x86/microcode/AuthenticAMD.bin | bsdcpio -o -H newc -R 0:0 > amd-ucode.img
+}
+
+package_linux-firmware() {
+ conflicts=('linux-firmware-git'
+ 'kernel26-firmware'
+ 'ar9170-fw'
+ 'iwlwifi-1000-ucode'
+ 'iwlwifi-3945-ucode'
+ 'iwlwifi-4965-ucode'
+ 'iwlwifi-5000-ucode'
+ 'iwlwifi-5150-ucode'
+ 'iwlwifi-6000-ucode'
+ 'rt2870usb-fw'
+ 'rt2x00-rt61-fw'
+ 'rt2x00-rt71w-fw')
+ replaces=('kernel26-firmware'
+ 'ar9170-fw'
+ 'iwlwifi-1000-ucode'
+ 'iwlwifi-3945-ucode'
+ 'iwlwifi-4965-ucode'
+ 'iwlwifi-5000-ucode'
+ 'iwlwifi-5150-ucode'
+ 'iwlwifi-6000-ucode'
+ 'rt2870usb-fw'
+ 'rt2x00-rt61-fw'
+ 'rt2x00-rt71w-fw')
+
+ cd "${srcdir}/${pkgname}"
+
+ make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install
+ rm "${pkgdir}/usr/lib/firmware/"{Makefile,README,configure,GPL-3}
+
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm644 LICEN* WHENCE "${pkgdir}/usr/share/licenses/linux-firmware/"
+
+ # Trigger a microcode reload for configurations not using early updates
+ install -d "${pkgdir}/usr/lib/tmpfiles.d"
+ echo 'w /sys/devices/system/cpu/microcode/reload - - - - 1' \
+ >"${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+}
+
+package_amd-ucode() {
+ pkgdesc='Microcode update files for AMD CPUs'
+
+ install -D -m0644 amd-ucode.img "${pkgdir}"/boot/amd-ucode.img
+ install -D -m0644 "${srcdir}/${pkgbase}/LICENSE.amd-ucode" "${pkgdir}/usr/share/licenses/amd-ucode/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list