trekstor-surftabduow1: new device (MR 1827)

This commit is contained in:
Max Buchholz 2020-12-24 12:41:58 +01:00 committed by Alexey Min
parent d0588c4046
commit cc3e4a1812
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# Reference: <https://postmarketos.org/devicepkg>
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"

View 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="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"

View file

@ -0,0 +1,5 @@
timeout=4
menuentry "postmarketOS" {
linux ($root)/vmlinuz-lts
initrd ($root)/initramfs-lts
}