device-tablet-x{64,86}uefi: drop (MR 4554)

Moved/consolidated/refactored into "device-generic-x86_64"
This commit is contained in:
Clayton Craft 2023-10-11 11:14:02 -07:00 committed by Anton Bambura
parent 93b904420a
commit 9911c9f9de
No known key found for this signature in database
GPG key ID: 1441EAFE8D7F4C2D
11 changed files with 0 additions and 266 deletions

View file

@ -1,108 +0,0 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-tablet-x64uefi
pkgdesc="Various tablets with atom CPU"
pkgver=0.4
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
# pmb:strict: avoid grub-related install error during build with pmbootstrap
options="!check !archcheck pmb:strict"
depends="
postmarketos-base
sof-firmware
"
makedepends="
devicepkg-dev
grub
grub-efi
"
subpackages="
$pkgname-libva
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-edge:kernel_edge
$pkgname-vulkan
"
source="
deviceinfo
modules-initfs
grub_early.cfg
grub_edge.cfg
grub_lts.cfg
"
build() {
devicepkg_build $startdir $pkgname
grub-mkimage \
--config="$srcdir/grub_early.cfg" \
--prefix="" \
--output="bootx64.efi" \
--format="x86_64-efi" \
--compression="xz" \
\
all_video \
cat \
configfile \
disk \
echo \
efi_gop \
fat \
gzio \
help \
iso9660 \
linux \
ls \
normal \
part_gpt \
part_msdos \
search \
search_label \
test \
true
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/bootx64.efi \
"$pkgdir"/boot/EFI/Boot/bootx64.efi
}
libva() {
install_if="$pkgname=$pkgver-r$pkgrel libva"
depends="intel-media-driver libva-intel-driver mesa-va-gallium"
mkdir "$subpkgdir"
}
kernel_edge() {
pkgdesc="Alpine Edge kernel"
depends="linux-edge"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
install -Dm644 "$srcdir"/grub_edge.cfg \
"$pkgdir"/boot/grub/grub.cfg
}
kernel_lts() {
pkgdesc="Alpine LTS kernel"
depends="linux-lts"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
install -Dm644 "$srcdir"/grub_lts.cfg \
"$pkgdir"/boot/grub/grub.cfg
}
vulkan() {
install_if="$pkgname vulkan-loader"
depends="mesa-vulkan-intel"
mkdir "$subpkgdir"
}
sha512sums="
1035baaccf774d6db6166b3f13b7fe4ac709dc681c7e846c67d1394fcd30753430dac8751ddce5dd79c9ba1a1c3ad11dd47559b7fd13ea7b5d75aa30b8b9a7a4 deviceinfo
9606a2f61bfd9e0a2ea04fbe45e25093b702fd5b5cccf9f4f50768ee3b501251d8d3e1605485e5ec8f485b4bff7e44fe20d488f80736837654a9951391a97789 modules-initfs
0f9357d4eea089628fbceb1e3e96d21a3f4329aeb6743158a6f877f967ef274506404eba949d5f01b7e1adea149f9a3aef992a5e8cd4181f93ab00909b1c5ecd grub_early.cfg
1fcae6891028bc07051e6e6faf9dd3ec2304c6165f9df05198f28a7fa2ba85c1dd8d07b72a5122d9628b67a2b0096ac180a9a2de0f391f9ce850c07dc79ac857 grub_edge.cfg
e15beaf385a350a7c36be249cf9495e4622f7888c8def6ac47359ebd2ef2c994f954abec8ccb16b402269f949e6f6016d41711e6596f46ba3dad240f84ba163f grub_lts.cfg
"

View file

@ -1,20 +0,0 @@
# 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_codename="tablet-x64uefi"
deviceinfo_arch="x86_64"
deviceinfo_gpu_accelerated="true"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="800"
deviceinfo_screen_height="600"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_boot_filesystem="fat16"

View file

@ -1,2 +0,0 @@
search --no-floppy --set=root --label "pmOS_boot"
set prefix=($root)/grub

View file

@ -1,6 +0,0 @@
timeout=0
menuentry "postmarketOS" {
linux ($root)/vmlinuz-edge console=tty0 PMOS_NO_OUTPUT_REDIRECT
initrd ($root)/initramfs
}

View file

@ -1,6 +0,0 @@
timeout=0
menuentry "postmarketOS" {
linux ($root)/vmlinuz-lts console=tty0 PMOS_NO_OUTPUT_REDIRECT
initrd ($root)/initramfs
}

View file

@ -1,16 +0,0 @@
jbd2
mbcache
scsi_mod
sd_mod
sg
libata
sd
ahci
libahci
usb_storage
usb
xhci_hcd
ehci_hcd
uas
xhci_pci
ehci_pci

View file

@ -1,60 +0,0 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-tablet-x86uefi
pkgdesc="Various tablets with atom CPU"
pkgver=7
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
options="!check !archcheck"
depends="
alsa-ucm-conf
grub-x86
linux-lts
postmarketos-base
sof-firmware
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-libva
$pkgname-nonfree-firmware:nonfree_firmware
"
source="
ath6kl.conf
deviceinfo
modules-initfs
grub.cfg
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D "$srcdir"/grub.cfg \
"$pkgdir"/boot/grub/grub.cfg
install -Dm644 "$srcdir"/ath6kl.conf \
-t "$pkgdir"/lib/modprobe.d/
}
libva() {
install_if="$pkgname=$pkgver-r$pkgrel libva"
depends="intel-media-driver libva-intel-driver mesa-va-gallium"
mkdir "$subpkgdir"
}
nonfree_firmware() {
pkgdesc="WiFi/BT firmware, used by some tablets"
depends="firmware-ath6kl"
mkdir "$subpkgdir"
}
sha512sums="
41bfee76f89b323afa642a2d96f18b33cb73fec28518873e1e3f7e05764d85afd7b620b1ef23fd8d43172fd1cc164056ed893f872fa1894eebafc7ce7b2030f1 ath6kl.conf
fa5610e95b58f8f24e8d6d1a77d12fe3f1ed04f42c35d1f94de77479316b9bd5933d3d7ac3413c986e41acf5aedef8322b28c191054774eb3b1da03b34d4a536 deviceinfo
63206caf9a86ddd6185b47a498f424b322bb926507e4ff91dedb5991a055343c0b0e33d1153e0ef91f016928254b3043da6f2dc0dd014755d2bd4ef32e5a5922 modules-initfs
2d951d71102181db85a2468fd770ee3a7958c06b14e27e52e0d4ff0e9b88f3ab3c5c9b15c8a938d1cd2ae0c94ad2aad7001f1b6fe943f96a38602085f481a4cf grub.cfg
"

View file

@ -1 +0,0 @@
options ath6kl_core heart_beat_poll=1000 recovery_enable=1

View file

@ -1,20 +0,0 @@
# 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_codename="tablet-x86uefi"
deviceinfo_arch="x86_64"
# Device related
deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="800"
deviceinfo_screen_height="600"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_boot_filesystem="fat16"

View file

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

View file

@ -1,21 +0,0 @@
jbd2
mbcache
scsi_mod
sd_mod
sg
libata
sd
ahci
libahci
usb_storage
usb
xhci_hcd
ehci_hcd
uas
xhci_pci
i915
sdhci_acpi
mmc_core
mmc_block
hid-multitouch
i2c_hid_acpi