microsoft-surface-rt: use generated grub.cfg (MR 4928)

This commit is contained in:
Anton Bambura 2024-03-15 23:53:29 +02:00
parent ae3050cd42
commit 991e6340ad
No known key found for this signature in database
GPG key ID: 1441EAFE8D7F4C2D
3 changed files with 5 additions and 17 deletions

View file

@ -18,11 +18,7 @@ subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-x11
"
source="
deviceinfo
modules-initfs
grub.cfg
"
source="deviceinfo modules-initfs"
build() {
devicepkg_build $startdir $pkgname
@ -46,8 +42,6 @@ build() {
package() {
devicepkg_package $startdir $pkgname
install -D "$srcdir"/grub.cfg \
"$pkgdir"/boot/grub/grub.cfg
install -D "$srcdir"/bootarm.efi \
"$pkgdir"/boot/EFI/Boot/bootarm.efi
}
@ -65,7 +59,6 @@ x11() {
}
sha512sums="
8ab7c1720255720fc81a7895ba4e5f5a03789132323e82047229e6f133f0270a29e766c0496ab620d41e3090e1ef6e77c346bd5a111ade3d59c3a630380409e6 deviceinfo
e09166ac34399eb2201c906498ae0e3bd8f6abb5287695bf2eacbb47195eaff00d12fd0828f705f9c1a45162b6fe5dca1b282e2afd9c47183073331d7f4538a8 deviceinfo
67ff4306270b7e6e292ddb48ac5fcb1472840d8eaa412f9cd989442fb20139ee3c844fd1ca5c5b923c7980403d945999a77fc6617127059e56e22bdc8dca2bf8 modules-initfs
40b507176edce2d141ff707aecad6f8d9636b828084e84d0015886d5e371127285bc80398fc13c1b88a7740c5b4694d2011286138249c95d27db0d9df3ca102f grub.cfg
"

View file

@ -7,7 +7,6 @@ deviceinfo_name="Microsoft Surface RT"
deviceinfo_manufacturer="Microsoft"
deviceinfo_codename="microsoft-surface-rt"
deviceinfo_year="2012"
deviceinfo_dtb="tegra30-microsoft-surface-rt-efi"
deviceinfo_arch="armv7"
# Device related
@ -21,5 +20,8 @@ deviceinfo_dev_internal_storage_repartition="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_dtb="tegra30-microsoft-surface-rt-efi"
deviceinfo_kernel_cmdline="cpuidle.off=1 console=ttyS0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_grub_config="true"
deviceinfo_generate_bootimg="false"
deviceinfo_boot_filesystem="fat32"

View file

@ -1,7 +0,0 @@
timeout=0
menuentry "postmarketOS" {
linux /vmlinuz cpuidle.off=1 console=ttyS0,115200 PMOS_NO_OUTPUT_REDIRECT
initrd /initramfs
devicetree /tegra30-microsoft-surface-rt-efi.dtb
}