Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 93ed3d91 authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: use grub-mkimage to generate bootarm.efi


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 6bd6a9e6
No related merge requests found
...@@ -1014,9 +1014,18 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__ ...@@ -1014,9 +1014,18 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__
echo "#rcn-ee: grub: disable OS_PROBER, repeated OS entries" >> /etc/default/grub echo "#rcn-ee: grub: disable OS_PROBER, repeated OS entries" >> /etc/default/grub
echo "GRUB_DISABLE_OS_PROBER=true" >> /etc/default/grub echo "GRUB_DISABLE_OS_PROBER=true" >> /etc/default/grub
mkdir -p /boot/efi/ mkdir -p /boot/efi/EFI/BOOT/
echo "Log: (chroot): grub-install --efi-directory=/boot/efi/ --target=arm-efi -s --force"
grub-install --efi-directory=/boot/efi/ --target=arm-efi -s --force efi_modules=\"fat part_gpt part_msdos normal boot linux configfile loadenv ext2\"
# fat iso9660 part_gpt part_msdos normal boot linux configfile loopback chain efifwsetup efi_gop \
# efi_uga ls search search_label search_fs_uuid search_fs_file gfxterm gfxterm_background \
# gfxterm_menu test all_video loadenv exfat ext2 ntfs btrfs hfsplus udf
echo "Log: (chroot): grub-mkimage -d /usr/lib/grub/arm-efi -o /boot/efi/EFI/BOOT/bootarm.efi -p /efi/boot -O arm-efi \${efi_modules}"
grub-mkimage -d /usr/lib/grub/arm-efi -o /boot/efi/EFI/BOOT/bootarm.efi -p /efi/boot -O arm-efi \${efi_modules}
} }
#cat /chroot_script.sh #cat /chroot_script.sh
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment