diff --git a/device/testing/device-trekstor-surftabduow1/APKBUILD b/device/testing/device-trekstor-surftabduow1/APKBUILD new file mode 100644 index 000000000..d7b4fb3f3 --- /dev/null +++ b/device/testing/device-trekstor-surftabduow1/APKBUILD @@ -0,0 +1,26 @@ +# Reference: +pkgname=device-trekstor-surftabduow1 +pkgdesc="Trekstor Surftab Duo W1" +pkgver=0.1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="x86_64" +options="!check !archcheck" +depends="grub-x86 postmarketos-base linux-lts mesa-dri-gallium" +makedepends="devicepkg-dev" +source="deviceinfo grub.cfg" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname + mkdir -p "$pkgdir"/boot/grub/ + install -D -m644 "$srcdir"/grub.cfg \ + "$pkgdir"/boot/grub/grub.cfg +} + +sha512sums="17d38cd52168cf96f03ef610341fc6e84c1e15c67be18199ef38238b1c8175f88e57f25dd4df13290cd595d9410430300fa2d2f00d72ceef2ded06c0743a65eb deviceinfo +13007aa683165b257cb9cc11112020d97debfa2a26746b1cdd805b7fdaabf072d4a743edd7553e02ec77f5802fd439f4e1ab22107a4aa26905ee70e400754b53 grub.cfg" diff --git a/device/testing/device-trekstor-surftabduow1/deviceinfo b/device/testing/device-trekstor-surftabduow1/deviceinfo new file mode 100644 index 000000000..aa561f9c7 --- /dev/null +++ b/device/testing/device-trekstor-surftabduow1/deviceinfo @@ -0,0 +1,24 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="Trekstor Surftab Duo W1" +deviceinfo_manufacturer="Trekstor" +deviceinfo_codename="trekstor-surftabduow1" +deviceinfo_year="2015" +deviceinfo_modules_initfs="i915 usbhid hid_generic jbd2 sdhci sdhci-pci sdhci_acpi mmc_core mmc_block +mbcache 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_chassis="convertible" +deviceinfo_keyboard="true" +deviceinfo_external_storage="true" +deviceinfo_screen_width="1920" +deviceinfo_screen_height="1200" + +# Bootloader related +deviceinfo_flash_method="none" +deviceinfo_boot_filesystem="fat16" diff --git a/device/testing/device-trekstor-surftabduow1/grub.cfg b/device/testing/device-trekstor-surftabduow1/grub.cfg new file mode 100644 index 000000000..7f8728718 --- /dev/null +++ b/device/testing/device-trekstor-surftabduow1/grub.cfg @@ -0,0 +1,5 @@ +timeout=4 +menuentry "postmarketOS" { + linux ($root)/vmlinuz-lts + initrd ($root)/initramfs-lts +}