oem-amd: firmware files + modules -> initfs-extra (MR 4796)

Move the files to initramfs-extra, so the initramfs is not too big for
ChromeOS devices. I had initially added this to initramfs, because
otherwise the graphics on my Thinkpad L14 would not come up. But I
verified that it also works with having it in initramfs-extra.

Fixes: #2578
This commit is contained in:
Oliver Smith 2024-02-06 15:35:24 +00:00
parent 5df7206d7a
commit ee4e52206a
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -2,7 +2,7 @@
pkgname=oem-amd
pkgdesc="AMD device support"
pkgver=2
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
@ -26,9 +26,9 @@ source="
package() {
mkdir -p "$pkgdir"
install -Dm644 00-oem-amd.modules \
-t "$pkgdir"/usr/share/mkinitfs/modules
-t "$pkgdir"/usr/share/mkinitfs/modules-extra
install -Dm644 00-amdgpu-firmware.files \
-t "$pkgdir"/usr/share/mkinitfs/files
-t "$pkgdir"/usr/share/mkinitfs/files-extra
}
libva() {