device-google-x64cros: add nonfree-firmware subpackages (MR 4791)
This is required by oem-amd/oem-intel dependencies.
This commit is contained in:
parent
91475c1230
commit
4321701042
1 changed files with 24 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=device-google-x64cros
|
||||
pkgdesc="Google Chromebooks with x64 CPU"
|
||||
pkgver=4
|
||||
pkgver=5
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
@ -22,6 +22,9 @@ install="$pkgname.post-install $pkgname.post-upgrade"
|
|||
subpackages="
|
||||
$pkgname-kernel-lts:kernel_lts
|
||||
$pkgname-kernel-edge:kernel_edge
|
||||
$pkgname-nonfree-firmware:nonfree_firmware
|
||||
$pkgname-nonfree-firmware-amd:nonfree_firmware_amd
|
||||
$pkgname-nonfree-firmware-intel:nonfree_firmware_intel
|
||||
"
|
||||
source="deviceinfo modules-initfs"
|
||||
_pmb_recommends="
|
||||
|
@ -49,6 +52,26 @@ kernel_lts() {
|
|||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||
}
|
||||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Firmware for x86_64 devices"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
nonfree_firmware_amd() {
|
||||
install_if="$pkgname-nonfree-firmware=$pkgver-r$pkgrel oem-amd"
|
||||
depends="oem-amd-nonfree-firmware"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
nonfree_firmware_intel() {
|
||||
install_if="$pkgname-nonfree-firmware=$pkgver-r$pkgrel oem-intel"
|
||||
depends="oem-intel-nonfree-firmware"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
9260fe8df64e284f137f77844562d2f08e28d72d36a50772b0216cd7d68eeb41d0cdb650d0f0d1ad04c3906991aba0561c36813a2beb62cedf16f616c9ccedb9 deviceinfo
|
||||
9606a2f61bfd9e0a2ea04fbe45e25093b702fd5b5cccf9f4f50768ee3b501251d8d3e1605485e5ec8f485b4bff7e44fe20d488f80736837654a9951391a97789 modules-initfs
|
||||
|
|
Loading…
Reference in a new issue