2c57359b8a
The initramfs needs ext4 (to mount the rootfs) and usb_f_rndis (to enable USB networking on devices that use USB configfs). If these are built as modules, they need to be included in initramfs. [ci:skip-build]: already built successfully in CI
38 lines
1.3 KiB
Text
38 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-tablet-x64uefi"
|
|
pkgdesc="Various tablets with atom CPU"
|
|
pkgver=0.1
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="x86_64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-vanilla mesa-dri-swrast gummiboot"
|
|
makedepends="devicepkg-dev gummiboot"
|
|
source="
|
|
deviceinfo
|
|
loader.conf
|
|
postmarketos.conf
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
mkdir -p "$pkgdir"/boot/EFI/Boot
|
|
mkdir -p "$pkgdir"/boot/loader/entries
|
|
|
|
install -D -m644 "$srcdir"/loader.conf \
|
|
"$pkgdir"/boot/loader/loader.conf
|
|
install -D -m644 "$srcdir"/postmarketos.conf \
|
|
"$pkgdir"/boot/loader/entries/postmarketos.conf
|
|
install -D -m644 /usr/lib/gummiboot/gummibootx64.efi \
|
|
"$pkgdir"/boot/EFI/Boot/bootx64.efi
|
|
}
|
|
|
|
sha512sums="9e030883d317802e3875151699b219c71642b8202ba35f3fd049b92ddadb1489da2d5b692ca34bef1776c13e54df70bf71c84eb86d6c1561f56d08eb723ef652 deviceinfo
|
|
838a0a66d5513fb8f6d1a8d20743f25f24298e35a942b2a71e7f0b4aaaf35bd22a3ec245e993f1551fe60ce6e2eac7df1a4631d3e02ebc593965ce284002cffc loader.conf
|
|
c4a8a1f19d8ba7340f2e54b5ab2066af2d7bff2ba2a86aabbf0aeb0836223bb4f3201a6ca8c8feeba91867af9884587be3d3cd0a5f0af6f90152134a955a8630 postmarketos.conf"
|