lenovo-flex-5g: switch to systemd-boot (MR 4522)
This commit is contained in:
parent
33f518f93f
commit
588f82329f
2 changed files with 7 additions and 35 deletions
|
@ -2,59 +2,31 @@
|
||||||
# Maintainer: Jenneron <jenneron@protonmail.com>
|
# Maintainer: Jenneron <jenneron@protonmail.com>
|
||||||
pkgname=device-lenovo-flex-5g
|
pkgname=device-lenovo-flex-5g
|
||||||
pkgdesc="Lenovo Flex 5G"
|
pkgdesc="Lenovo Flex 5G"
|
||||||
pkgver=1
|
pkgver=2
|
||||||
pkgrel=2
|
pkgrel=0
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
options="!check !archcheck pmb:strict"
|
options="!check !archcheck"
|
||||||
depends="
|
depends="
|
||||||
linux-postmarketos-qcom-sc8180x
|
linux-postmarketos-qcom-sc8180x
|
||||||
postmarketos-base
|
postmarketos-base
|
||||||
soc-qcom-sc8180x
|
soc-qcom-sc8180x
|
||||||
|
systemd-boot
|
||||||
"
|
"
|
||||||
makedepends="devicepkg-dev grub grub-efi"
|
makedepends="devicepkg-dev"
|
||||||
source="deviceinfo modules-initfs"
|
source="deviceinfo modules-initfs"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
devicepkg_build $startdir $pkgname
|
devicepkg_build $startdir $pkgname
|
||||||
|
|
||||||
grub-mkimage \
|
|
||||||
--prefix="/grub" \
|
|
||||||
--output="bootaa64.efi" \
|
|
||||||
--format="arm64-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() {
|
package() {
|
||||||
devicepkg_package $startdir $pkgname
|
devicepkg_package $startdir $pkgname
|
||||||
|
|
||||||
install -Dm644 "$srcdir"/bootaa64.efi \
|
|
||||||
-t "$pkgdir"/boot/EFI/Boot
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
28f25600b5dfcf55a7dd335d603758f7788335a2ed08010cbefdb4871102bfd231630b1eed244d9d42cd5d07391143c4a52d6e6896c2d981be6ba8f6859d1512 deviceinfo
|
73327b37cc0ff78a4e4159e377f8c59ae7164cf061862e9d62807987eedb99260d9e5fcc822931191a56d7c1b4723a8048fc7eedcf12153f8a10307057c0fe15 deviceinfo
|
||||||
a78aab94f673cb68a194d914fa0209366af4bfd6c610a1b923efb3fbc62efb34605d24b23f51b49ee1564975a32ef29c51f986ff63490dd604dd4869bbeadbbd modules-initfs
|
a78aab94f673cb68a194d914fa0209366af4bfd6c610a1b923efb3fbc62efb34605d24b23f51b49ee1564975a32ef29c51f986ff63490dd604dd4869bbeadbbd modules-initfs
|
||||||
"
|
"
|
||||||
|
|
|
@ -20,6 +20,6 @@ deviceinfo_screen_height="1080"
|
||||||
# Bootloader related
|
# Bootloader related
|
||||||
deviceinfo_flash_method="none"
|
deviceinfo_flash_method="none"
|
||||||
deviceinfo_kernel_cmdline="efi=novamap clk_ignore_unused pd_ignore_unused console=null"
|
deviceinfo_kernel_cmdline="efi=novamap clk_ignore_unused pd_ignore_unused console=null"
|
||||||
deviceinfo_generate_grub_config="true"
|
deviceinfo_generate_systemd_boot="true"
|
||||||
deviceinfo_boot_filesystem="fat32"
|
deviceinfo_boot_filesystem="fat32"
|
||||||
deviceinfo_partition_type="gpt"
|
deviceinfo_partition_type="gpt"
|
||||||
|
|
Loading…
Reference in a new issue