asahi: remove stuff, enlarge

This commit is contained in:
dkwo 2024-12-30 11:42:31 +01:00
parent 4f610393e3
commit 586f4aa813
2 changed files with 3 additions and 4 deletions

View File

@ -123,7 +123,7 @@ esac
# Default for bigger boot partion on rk33xx devices since it needs to
# fit at least 2 Kernels + initramfs
case "$PLATFORM" in
pinebookpro*|rock64*|rockpro64*)
pinebookpro*|rock64*|rockpro64*|asahi*)
: "${BOOT_FSSIZE:=512MiB}"
;;
esac
@ -352,8 +352,7 @@ GCP*)
;;
asahi*)
mount_pseudofs
run_cmd_chroot "${ROOTFS}" "mkdir -p /boot/efi/m1n1"
run_cmd_chroot "${ROOTFS}" "grub-install --target=arm64-efi --efi-directory=/boot/efi --removable"
run_cmd_chroot "${ROOTFS}" "grub-install --target=arm64-efi --efi-directory=/boot --removable"
run_cmd_chroot "${ROOTFS}" "xbps-reconfigure -f linux-asahi"
cleanup_chroot
;;

View File

@ -128,7 +128,7 @@ case "$PLATFORM" in
pinephone*) PKGS="$BASEPKG ${PLATFORM%-*}-base" ;;
rock64*) PKGS="$BASEPKG ${PLATFORM%-*}-base" ;;
rockpro64*) PKGS="$BASEPKG ${PLATFORM%-*}-base" ;;
asahi*) PKGS="$BASEPKG asahi-base asahi-scripts grub-arm64-efi dracut asahi-uboot lzfse" ;;
asahi*) PKGS="$BASEPKG asahi-base asahi-scripts grub-arm64-efi dracut lzfse" ;;
*) die "$PROGNAME: invalid platform!";;
esac