device/device-tablet-x64uefi: new aport (!68)
This commit is contained in:
parent
4dbbfbc0ba
commit
ab939626f5
4 changed files with 68 additions and 0 deletions
38
device/device-tablet-x64uefi/APKBUILD
Normal file
38
device/device-tablet-x64uefi/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname="device-tablet-x64uefi"
|
||||
pkgdesc="Various tablets with atom CPU"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
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="5f5bc0438e4380554f7c5f142993f1ba146b2f358a4c98e098da3ec1f05322f8c648c3811634fedd210d900e3467afffe79eb8d81e78c32623141cc301d25229 deviceinfo
|
||||
838a0a66d5513fb8f6d1a8d20743f25f24298e35a942b2a71e7f0b4aaaf35bd22a3ec245e993f1551fe60ce6e2eac7df1a4631d3e02ebc593965ce284002cffc loader.conf
|
||||
c4a8a1f19d8ba7340f2e54b5ab2066af2d7bff2ba2a86aabbf0aeb0836223bb4f3201a6ca8c8feeba91867af9884587be3d3cd0a5f0af6f90152134a955a8630 postmarketos.conf"
|
24
device/device-tablet-x64uefi/deviceinfo
Normal file
24
device/device-tablet-x64uefi/deviceinfo
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Various tablets with atom CPU"
|
||||
deviceinfo_manufacturer="Various"
|
||||
deviceinfo_date=""
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules_initfs="jbd2 mbcache ext4 scsi_mod sd_mod sg libata sd ahci libahci usb_storage usb xhci_hcd ehci_hcd uas xhci_pci fat vfat nls_cp437 nls_utf8"
|
||||
deviceinfo_arch="x86_64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_screen_width="800"
|
||||
deviceinfo_screen_height="600"
|
||||
deviceinfo_dev_touchscreen=""
|
||||
deviceinfo_dev_touchscreen_calibration=""
|
||||
deviceinfo_dev_keyboard=""
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
||||
deviceinfo_boot_filesystem="fat16"
|
||||
|
2
device/device-tablet-x64uefi/loader.conf
Normal file
2
device/device-tablet-x64uefi/loader.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
default postmarketos
|
||||
timeout 4
|
4
device/device-tablet-x64uefi/postmarketos.conf
Normal file
4
device/device-tablet-x64uefi/postmarketos.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
title postmarketOS
|
||||
linux vmlinuz-vanilla
|
||||
initrd initramfs-vanilla
|
||||
options console=tty0 PMOS_NO_OUTPUT_REDIRECT
|
Loading…
Reference in a new issue