* [RFT] install branch @ 2010-08-30 19:10 Vladimir 'φ-coder/phcoder' Serbinenko 2010-08-31 13:37 ` KESHAV P.R. 2010-09-08 10:59 ` Colin Watson 0 siblings, 2 replies; 4+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-08-30 19:10 UTC (permalink / raw) To: The development of GRUB 2 [-- Attachment #1: Type: text/plain, Size: 375 bytes --] Hello. I've just merged all 3 different grub-install's we have in our tree to a single grub-install. This work is available as bzr checkout under http://bzr.savannah.gnu.org/r/grub/branches/install/. I also merged the EFI work by Colin Watson. Can anyone with ieee1275 and efi systems test the install branch? -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFT] install branch 2010-08-30 19:10 [RFT] install branch Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-08-31 13:37 ` KESHAV P.R. 2010-09-08 10:59 ` Colin Watson 1 sibling, 0 replies; 4+ messages in thread From: KESHAV P.R. @ 2010-08-31 13:37 UTC (permalink / raw) To: The development of GNU GRUB [-- Attachment #1: Type: text/plain, Size: 1430 bytes --] I tried the install branch ( https://code.launchpad.net/~skodabenz/grub/grub2-bzr-install ) for x86_64-efi but grub-install is incorrectly detecting the efi system partition. In my Archlinux x86_64 system the efi system partition is mounted at /efi. /efi - (hd0,gpt1) aka /dev/sda8 - fat32 /boot - (hd0,gpt8) aka /dev/sda8 - fat32 Command used :- sudo ./grub2_efi_x64-install --no-floppy --debug --recheck /dev/sda (output in attached txt file) Compiled using this script http://gist.github.com/410877 ./grub2_efi.sh x86_64 /efi grub2_efi_x64 /media/Data_3/grub2_UEFI_Backup /media/Data_3/grub2_UEFI_Tools_Backup /grub2/grub2_efi_x86_64 Applied sed -i "s|grub.cfg|grub2_efi_x64.cfg|" ${WD}/grub-core/normal/main.c efibootmgr not installed in my system. Regards. Keshav. 2010/8/31 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>: > Hello. I've just merged all 3 different grub-install's we have in our > tree to a single grub-install. This work is available as bzr checkout > under http://bzr.savannah.gnu.org/r/grub/branches/install/. I also > merged the EFI work by Colin Watson. Can anyone with ieee1275 and efi > systems test the install branch? > > -- > Regards > Vladimir 'φ-coder/phcoder' Serbinenko > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > [-- Attachment #2: install_branch.txt --] [-- Type: text/plain, Size: 74256 bytes --] [keshav_pr@keshav-laptop sbin]$ sudo ./grub2_efi_x64-install --no-floppy --debug --recheck /dev/sda Password: which: no ofpathname in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin) which: no nvsetenv in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/lib/perl5/vendor_perl/bin:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin) + setup_verbose=--verbose + efi_quiet=-q + case "$host_os" in + bootdir=/boot ++ echo grub ++ sed s,grub,grub2_efi_x64, + grubdir=/boot/grub2_efi_x64 + device_map=/boot/grub2_efi_x64/device.map + grub_probe='/grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map' + '[' x86_64-efi = i386-pc ']' + '[' x86_64-efi = sparc64-ieee1275 ']' + set /grub2/grub2_efi_x86_64/bin/grub2_efi_x64-mkimage dummy + test -f /grub2/grub2_efi_x86_64/bin/grub2_efi_x64-mkimage + : + set /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-mkdevicemap dummy + test -f /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-mkdevicemap + : + mkdir -p /boot/grub2_efi_x64 + test yes = yes + rm -f /boot/grub2_efi_x64/device.map + test -f /boot/grub2_efi_x64/device.map + test -n '' + /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-mkdevicemap --device-map=/boot/grub2_efi_x64/device.map --no-floppy ++ uniq -d ++ sed -n '/^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p' /boot/grub2_efi_x64/device.map ++ sort ++ sed -n 1p + tmp= + test -n '' + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/acpi.mod ++ basename /boot/grub2_efi_x64/acpi.mod + '[' acpi.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/acpi.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/affs.mod ++ basename /boot/grub2_efi_x64/affs.mod + '[' affs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/affs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/afs_be.mod ++ basename /boot/grub2_efi_x64/afs_be.mod + '[' afs_be.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/afs_be.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/afs.mod ++ basename /boot/grub2_efi_x64/afs.mod + '[' afs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/afs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/aout.mod ++ basename /boot/grub2_efi_x64/aout.mod + '[' aout.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/aout.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/appleldr.mod ++ basename /boot/grub2_efi_x64/appleldr.mod + '[' appleldr.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/appleldr.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ata.mod ++ basename /boot/grub2_efi_x64/ata.mod + '[' ata.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ata.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ata_pthru.mod ++ basename /boot/grub2_efi_x64/ata_pthru.mod + '[' ata_pthru.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ata_pthru.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/at_keyboard.mod ++ basename /boot/grub2_efi_x64/at_keyboard.mod + '[' at_keyboard.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/at_keyboard.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/befs_be.mod ++ basename /boot/grub2_efi_x64/befs_be.mod + '[' befs_be.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/befs_be.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/befs.mod ++ basename /boot/grub2_efi_x64/befs.mod + '[' befs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/befs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/bitmap.mod ++ basename /boot/grub2_efi_x64/bitmap.mod + '[' bitmap.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/bitmap.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/bitmap_scale.mod ++ basename /boot/grub2_efi_x64/bitmap_scale.mod + '[' bitmap_scale.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/bitmap_scale.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/blocklist.mod ++ basename /boot/grub2_efi_x64/blocklist.mod + '[' blocklist.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/blocklist.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/boot.mod ++ basename /boot/grub2_efi_x64/boot.mod + '[' boot.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/boot.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/bsd.mod ++ basename /boot/grub2_efi_x64/bsd.mod + '[' bsd.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/bsd.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/bufio.mod ++ basename /boot/grub2_efi_x64/bufio.mod + '[' bufio.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/bufio.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/cat.mod ++ basename /boot/grub2_efi_x64/cat.mod + '[' cat.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/cat.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/chain.mod ++ basename /boot/grub2_efi_x64/chain.mod + '[' chain.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/chain.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/cmp.mod ++ basename /boot/grub2_efi_x64/cmp.mod + '[' cmp.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/cmp.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/configfile.mod ++ basename /boot/grub2_efi_x64/configfile.mod + '[' configfile.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/configfile.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/cpio.mod ++ basename /boot/grub2_efi_x64/cpio.mod + '[' cpio.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/cpio.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/cpuid.mod ++ basename /boot/grub2_efi_x64/cpuid.mod + '[' cpuid.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/cpuid.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/crc.mod ++ basename /boot/grub2_efi_x64/crc.mod + '[' crc.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/crc.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/crypto.mod ++ basename /boot/grub2_efi_x64/crypto.mod + '[' crypto.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/crypto.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/cs5536.mod ++ basename /boot/grub2_efi_x64/cs5536.mod + '[' cs5536.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/cs5536.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/datehook.mod ++ basename /boot/grub2_efi_x64/datehook.mod + '[' datehook.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/datehook.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/date.mod ++ basename /boot/grub2_efi_x64/date.mod + '[' date.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/date.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/datetime.mod ++ basename /boot/grub2_efi_x64/datetime.mod + '[' datetime.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/datetime.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/dm_nv.mod ++ basename /boot/grub2_efi_x64/dm_nv.mod + '[' dm_nv.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/dm_nv.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/echo.mod ++ basename /boot/grub2_efi_x64/echo.mod + '[' echo.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/echo.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/efi_gop.mod ++ basename /boot/grub2_efi_x64/efi_gop.mod + '[' efi_gop.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/efi_gop.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/efi_uga.mod ++ basename /boot/grub2_efi_x64/efi_uga.mod + '[' efi_uga.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/efi_uga.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/elf.mod ++ basename /boot/grub2_efi_x64/elf.mod + '[' elf.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/elf.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/example_functional_test.mod ++ basename /boot/grub2_efi_x64/example_functional_test.mod + '[' example_functional_test.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/example_functional_test.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ext2.mod ++ basename /boot/grub2_efi_x64/ext2.mod + '[' ext2.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ext2.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/extcmd.mod ++ basename /boot/grub2_efi_x64/extcmd.mod + '[' extcmd.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/extcmd.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/fat.mod ++ basename /boot/grub2_efi_x64/fat.mod + '[' fat.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/fat.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/fixvideo.mod ++ basename /boot/grub2_efi_x64/fixvideo.mod + '[' fixvideo.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/fixvideo.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/font.mod ++ basename /boot/grub2_efi_x64/font.mod + '[' font.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/font.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/fshelp.mod ++ basename /boot/grub2_efi_x64/fshelp.mod + '[' fshelp.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/fshelp.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/functional_test.mod ++ basename /boot/grub2_efi_x64/functional_test.mod + '[' functional_test.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/functional_test.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_arcfour.mod ++ basename /boot/grub2_efi_x64/gcry_arcfour.mod + '[' gcry_arcfour.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_arcfour.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_blowfish.mod ++ basename /boot/grub2_efi_x64/gcry_blowfish.mod + '[' gcry_blowfish.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_blowfish.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_camellia.mod ++ basename /boot/grub2_efi_x64/gcry_camellia.mod + '[' gcry_camellia.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_camellia.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_cast5.mod ++ basename /boot/grub2_efi_x64/gcry_cast5.mod + '[' gcry_cast5.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_cast5.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_crc.mod ++ basename /boot/grub2_efi_x64/gcry_crc.mod + '[' gcry_crc.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_crc.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_des.mod ++ basename /boot/grub2_efi_x64/gcry_des.mod + '[' gcry_des.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_des.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_md4.mod ++ basename /boot/grub2_efi_x64/gcry_md4.mod + '[' gcry_md4.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_md4.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_md5.mod ++ basename /boot/grub2_efi_x64/gcry_md5.mod + '[' gcry_md5.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_md5.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_rfc2268.mod ++ basename /boot/grub2_efi_x64/gcry_rfc2268.mod + '[' gcry_rfc2268.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_rfc2268.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_rijndael.mod ++ basename /boot/grub2_efi_x64/gcry_rijndael.mod + '[' gcry_rijndael.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_rijndael.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_rmd160.mod ++ basename /boot/grub2_efi_x64/gcry_rmd160.mod + '[' gcry_rmd160.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_rmd160.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_seed.mod ++ basename /boot/grub2_efi_x64/gcry_seed.mod + '[' gcry_seed.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_seed.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_serpent.mod ++ basename /boot/grub2_efi_x64/gcry_serpent.mod + '[' gcry_serpent.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_serpent.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_sha1.mod ++ basename /boot/grub2_efi_x64/gcry_sha1.mod + '[' gcry_sha1.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_sha1.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_sha256.mod ++ basename /boot/grub2_efi_x64/gcry_sha256.mod + '[' gcry_sha256.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_sha256.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_sha512.mod ++ basename /boot/grub2_efi_x64/gcry_sha512.mod + '[' gcry_sha512.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_sha512.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_tiger.mod ++ basename /boot/grub2_efi_x64/gcry_tiger.mod + '[' gcry_tiger.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_tiger.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_twofish.mod ++ basename /boot/grub2_efi_x64/gcry_twofish.mod + '[' gcry_twofish.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_twofish.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gcry_whirlpool.mod ++ basename /boot/grub2_efi_x64/gcry_whirlpool.mod + '[' gcry_whirlpool.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gcry_whirlpool.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gettext.mod ++ basename /boot/grub2_efi_x64/gettext.mod + '[' gettext.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gettext.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gfxmenu.mod ++ basename /boot/grub2_efi_x64/gfxmenu.mod + '[' gfxmenu.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gfxmenu.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gfxterm.mod ++ basename /boot/grub2_efi_x64/gfxterm.mod + '[' gfxterm.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gfxterm.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gptsync.mod ++ basename /boot/grub2_efi_x64/gptsync.mod + '[' gptsync.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gptsync.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/gzio.mod ++ basename /boot/grub2_efi_x64/gzio.mod + '[' gzio.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/gzio.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/halt.mod ++ basename /boot/grub2_efi_x64/halt.mod + '[' halt.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/halt.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/hashsum.mod ++ basename /boot/grub2_efi_x64/hashsum.mod + '[' hashsum.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/hashsum.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/hdparm.mod ++ basename /boot/grub2_efi_x64/hdparm.mod + '[' hdparm.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/hdparm.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/hello.mod ++ basename /boot/grub2_efi_x64/hello.mod + '[' hello.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/hello.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/help.mod ++ basename /boot/grub2_efi_x64/help.mod + '[' help.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/help.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/hexdump.mod ++ basename /boot/grub2_efi_x64/hexdump.mod + '[' hexdump.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/hexdump.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/hfs.mod ++ basename /boot/grub2_efi_x64/hfs.mod + '[' hfs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/hfs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/hfsplus.mod ++ basename /boot/grub2_efi_x64/hfsplus.mod + '[' hfsplus.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/hfsplus.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/iorw.mod ++ basename /boot/grub2_efi_x64/iorw.mod + '[' iorw.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/iorw.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/iso9660.mod ++ basename /boot/grub2_efi_x64/iso9660.mod + '[' iso9660.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/iso9660.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/jfs.mod ++ basename /boot/grub2_efi_x64/jfs.mod + '[' jfs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/jfs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/jpeg.mod ++ basename /boot/grub2_efi_x64/jpeg.mod + '[' jpeg.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/jpeg.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/keystatus.mod ++ basename /boot/grub2_efi_x64/keystatus.mod + '[' keystatus.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/keystatus.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/linux.mod ++ basename /boot/grub2_efi_x64/linux.mod + '[' linux.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/linux.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/loadbios.mod ++ basename /boot/grub2_efi_x64/loadbios.mod + '[' loadbios.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/loadbios.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/loadenv.mod ++ basename /boot/grub2_efi_x64/loadenv.mod + '[' loadenv.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/loadenv.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/loopback.mod ++ basename /boot/grub2_efi_x64/loopback.mod + '[' loopback.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/loopback.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/lsmmap.mod ++ basename /boot/grub2_efi_x64/lsmmap.mod + '[' lsmmap.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/lsmmap.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ls.mod ++ basename /boot/grub2_efi_x64/ls.mod + '[' ls.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ls.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/lspci.mod ++ basename /boot/grub2_efi_x64/lspci.mod + '[' lspci.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/lspci.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/lvm.mod ++ basename /boot/grub2_efi_x64/lvm.mod + '[' lvm.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/lvm.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/mdraid.mod ++ basename /boot/grub2_efi_x64/mdraid.mod + '[' mdraid.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/mdraid.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/memdisk.mod ++ basename /boot/grub2_efi_x64/memdisk.mod + '[' memdisk.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/memdisk.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/memrw.mod ++ basename /boot/grub2_efi_x64/memrw.mod + '[' memrw.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/memrw.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/minicmd.mod ++ basename /boot/grub2_efi_x64/minicmd.mod + '[' minicmd.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/minicmd.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/minix.mod ++ basename /boot/grub2_efi_x64/minix.mod + '[' minix.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/minix.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/mmap.mod ++ basename /boot/grub2_efi_x64/mmap.mod + '[' mmap.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/mmap.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/msdospart.mod ++ basename /boot/grub2_efi_x64/msdospart.mod + '[' msdospart.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/msdospart.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/multiboot2.mod ++ basename /boot/grub2_efi_x64/multiboot2.mod + '[' multiboot2.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/multiboot2.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/multiboot.mod ++ basename /boot/grub2_efi_x64/multiboot.mod + '[' multiboot.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/multiboot.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/nilfs2.mod ++ basename /boot/grub2_efi_x64/nilfs2.mod + '[' nilfs2.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/nilfs2.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/normal.mod ++ basename /boot/grub2_efi_x64/normal.mod + '[' normal.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/normal.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ntfscomp.mod ++ basename /boot/grub2_efi_x64/ntfscomp.mod + '[' ntfscomp.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ntfscomp.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ntfs.mod ++ basename /boot/grub2_efi_x64/ntfs.mod + '[' ntfs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ntfs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ohci.mod ++ basename /boot/grub2_efi_x64/ohci.mod + '[' ohci.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ohci.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_acorn.mod ++ basename /boot/grub2_efi_x64/part_acorn.mod + '[' part_acorn.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_acorn.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_amiga.mod ++ basename /boot/grub2_efi_x64/part_amiga.mod + '[' part_amiga.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_amiga.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_apple.mod ++ basename /boot/grub2_efi_x64/part_apple.mod + '[' part_apple.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_apple.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_bsd.mod ++ basename /boot/grub2_efi_x64/part_bsd.mod + '[' part_bsd.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_bsd.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_gpt.mod ++ basename /boot/grub2_efi_x64/part_gpt.mod + '[' part_gpt.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_gpt.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_msdos.mod ++ basename /boot/grub2_efi_x64/part_msdos.mod + '[' part_msdos.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_msdos.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_sun.mod ++ basename /boot/grub2_efi_x64/part_sun.mod + '[' part_sun.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_sun.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/part_sunpc.mod ++ basename /boot/grub2_efi_x64/part_sunpc.mod + '[' part_sunpc.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/part_sunpc.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/parttool.mod ++ basename /boot/grub2_efi_x64/parttool.mod + '[' parttool.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/parttool.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/password.mod ++ basename /boot/grub2_efi_x64/password.mod + '[' password.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/password.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/password_pbkdf2.mod ++ basename /boot/grub2_efi_x64/password_pbkdf2.mod + '[' password_pbkdf2.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/password_pbkdf2.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/pbkdf2.mod ++ basename /boot/grub2_efi_x64/pbkdf2.mod + '[' pbkdf2.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/pbkdf2.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/pci.mod ++ basename /boot/grub2_efi_x64/pci.mod + '[' pci.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/pci.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/play.mod ++ basename /boot/grub2_efi_x64/play.mod + '[' play.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/play.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/png.mod ++ basename /boot/grub2_efi_x64/png.mod + '[' png.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/png.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/probe.mod ++ basename /boot/grub2_efi_x64/probe.mod + '[' probe.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/probe.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/raid5rec.mod ++ basename /boot/grub2_efi_x64/raid5rec.mod + '[' raid5rec.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/raid5rec.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/raid6rec.mod ++ basename /boot/grub2_efi_x64/raid6rec.mod + '[' raid6rec.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/raid6rec.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/raid.mod ++ basename /boot/grub2_efi_x64/raid.mod + '[' raid.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/raid.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/read.mod ++ basename /boot/grub2_efi_x64/read.mod + '[' read.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/read.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/reboot.mod ++ basename /boot/grub2_efi_x64/reboot.mod + '[' reboot.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/reboot.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/regexp.mod ++ basename /boot/grub2_efi_x64/regexp.mod + '[' regexp.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/regexp.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/reiserfs.mod ++ basename /boot/grub2_efi_x64/reiserfs.mod + '[' reiserfs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/reiserfs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/relocator.mod ++ basename /boot/grub2_efi_x64/relocator.mod + '[' relocator.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/relocator.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/scsi.mod ++ basename /boot/grub2_efi_x64/scsi.mod + '[' scsi.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/scsi.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/search_fs_file.mod ++ basename /boot/grub2_efi_x64/search_fs_file.mod + '[' search_fs_file.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/search_fs_file.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/search_fs_uuid.mod ++ basename /boot/grub2_efi_x64/search_fs_uuid.mod + '[' search_fs_uuid.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/search_fs_uuid.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/search_label.mod ++ basename /boot/grub2_efi_x64/search_label.mod + '[' search_label.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/search_label.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/search.mod ++ basename /boot/grub2_efi_x64/search.mod + '[' search.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/search.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/serial.mod ++ basename /boot/grub2_efi_x64/serial.mod + '[' serial.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/serial.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/setjmp.mod ++ basename /boot/grub2_efi_x64/setjmp.mod + '[' setjmp.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/setjmp.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/setpci.mod ++ basename /boot/grub2_efi_x64/setpci.mod + '[' setpci.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/setpci.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/sfs.mod ++ basename /boot/grub2_efi_x64/sfs.mod + '[' sfs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/sfs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/sleep.mod ++ basename /boot/grub2_efi_x64/sleep.mod + '[' sleep.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/sleep.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/tar.mod ++ basename /boot/grub2_efi_x64/tar.mod + '[' tar.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/tar.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/terminal.mod ++ basename /boot/grub2_efi_x64/terminal.mod + '[' terminal.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/terminal.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/terminfo.mod ++ basename /boot/grub2_efi_x64/terminfo.mod + '[' terminfo.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/terminfo.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/test.mod ++ basename /boot/grub2_efi_x64/test.mod + '[' test.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/test.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/tga.mod ++ basename /boot/grub2_efi_x64/tga.mod + '[' tga.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/tga.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/trig.mod ++ basename /boot/grub2_efi_x64/trig.mod + '[' trig.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/trig.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/true.mod ++ basename /boot/grub2_efi_x64/true.mod + '[' true.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/true.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/udf.mod ++ basename /boot/grub2_efi_x64/udf.mod + '[' udf.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/udf.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ufs1.mod ++ basename /boot/grub2_efi_x64/ufs1.mod + '[' ufs1.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ufs1.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/ufs2.mod ++ basename /boot/grub2_efi_x64/ufs2.mod + '[' ufs2.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/ufs2.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/uhci.mod ++ basename /boot/grub2_efi_x64/uhci.mod + '[' uhci.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/uhci.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/usb_keyboard.mod ++ basename /boot/grub2_efi_x64/usb_keyboard.mod + '[' usb_keyboard.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/usb_keyboard.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/usb.mod ++ basename /boot/grub2_efi_x64/usb.mod + '[' usb.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/usb.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/usbms.mod ++ basename /boot/grub2_efi_x64/usbms.mod + '[' usbms.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/usbms.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/usbserial_common.mod ++ basename /boot/grub2_efi_x64/usbserial_common.mod + '[' usbserial_common.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/usbserial_common.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/usbserial_ftdi.mod ++ basename /boot/grub2_efi_x64/usbserial_ftdi.mod + '[' usbserial_ftdi.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/usbserial_ftdi.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/usbserial_pl2303.mod ++ basename /boot/grub2_efi_x64/usbserial_pl2303.mod + '[' usbserial_pl2303.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/usbserial_pl2303.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/usbtest.mod ++ basename /boot/grub2_efi_x64/usbtest.mod + '[' usbtest.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/usbtest.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/video_bochs.mod ++ basename /boot/grub2_efi_x64/video_bochs.mod + '[' video_bochs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/video_bochs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/video_cirrus.mod ++ basename /boot/grub2_efi_x64/video_cirrus.mod + '[' video_cirrus.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/video_cirrus.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/video_fb.mod ++ basename /boot/grub2_efi_x64/video_fb.mod + '[' video_fb.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/video_fb.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/video.mod ++ basename /boot/grub2_efi_x64/video.mod + '[' video.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/video.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/videotest.mod ++ basename /boot/grub2_efi_x64/videotest.mod + '[' videotest.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/videotest.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/xfs.mod ++ basename /boot/grub2_efi_x64/xfs.mod + '[' xfs.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/xfs.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/xnu.mod ++ basename /boot/grub2_efi_x64/xnu.mod + '[' xnu.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/xnu.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/xnu_uuid.mod ++ basename /boot/grub2_efi_x64/xnu_uuid.mod + '[' xnu_uuid.mod '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/xnu_uuid.mod + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/command.lst ++ basename /boot/grub2_efi_x64/command.lst + '[' command.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/command.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/crypto.lst ++ basename /boot/grub2_efi_x64/crypto.lst + '[' crypto.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/crypto.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/fs.lst ++ basename /boot/grub2_efi_x64/fs.lst + '[' fs.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/fs.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/handler.lst ++ basename /boot/grub2_efi_x64/handler.lst + '[' handler.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/handler.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/moddep.lst ++ basename /boot/grub2_efi_x64/moddep.lst + '[' moddep.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/moddep.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/partmap.lst ++ basename /boot/grub2_efi_x64/partmap.lst + '[' partmap.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/partmap.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/parttool.lst ++ basename /boot/grub2_efi_x64/parttool.lst + '[' parttool.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/parttool.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/terminal.lst ++ basename /boot/grub2_efi_x64/terminal.lst + '[' terminal.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/terminal.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f /boot/grub2_efi_x64/video.lst ++ basename /boot/grub2_efi_x64/video.lst + '[' video.lst '!=' menu.lst ']' + rm -f /boot/grub2_efi_x64/video.lst + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f '/boot/grub2_efi_x64/*.img' + for file in '${grubdir}/*.mod' '${grubdir}/*.lst' '${grubdir}/*.img' '${grubdir}/efiemu??.o' + test -f '/boot/grub2_efi_x64/efiemu??.o' + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/acpi.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/affs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/afs_be.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/afs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/aout.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/appleldr.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ata.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ata_pthru.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/at_keyboard.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/befs_be.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/befs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/bitmap.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/bitmap_scale.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/blocklist.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/boot.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/bsd.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/bufio.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/cat.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/chain.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/cmp.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/configfile.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/cpio.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/cpuid.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/crc.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/crypto.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/cs5536.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/datehook.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/date.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/datetime.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/dm_nv.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/echo.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/efi_gop.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/efi_uga.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/elf.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/example_functional_test.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ext2.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/extcmd.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/fat.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/fixvideo.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/font.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/fshelp.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/functional_test.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_arcfour.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_blowfish.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_camellia.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_cast5.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_crc.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_des.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_md4.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_md5.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_rfc2268.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_rijndael.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_rmd160.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_seed.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_serpent.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_sha1.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_sha256.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_sha512.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_tiger.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_twofish.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gcry_whirlpool.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gettext.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gfxmenu.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gfxterm.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gptsync.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/gzio.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/halt.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/hashsum.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/hdparm.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/hello.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/help.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/hexdump.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/hfs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/hfsplus.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/iorw.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/iso9660.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/jfs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/jpeg.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/keystatus.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/linux.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/loadbios.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/loadenv.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/loopback.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/lsmmap.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ls.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/lspci.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/lvm.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/mdraid.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/memdisk.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/memrw.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/minicmd.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/minix.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/mmap.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/msdospart.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/multiboot2.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/multiboot.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/nilfs2.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/normal.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ntfscomp.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ntfs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ohci.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_acorn.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_amiga.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_apple.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_bsd.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_gpt.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_msdos.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_sun.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/part_sunpc.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/parttool.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/password.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/password_pbkdf2.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/pbkdf2.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/pci.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/play.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/png.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/probe.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/raid5rec.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/raid6rec.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/raid.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/read.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/reboot.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/regexp.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/reiserfs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/relocator.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/scsi.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/search_fs_file.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/search_fs_uuid.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/search_label.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/search.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/serial.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/setjmp.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/setpci.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/sfs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/sleep.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/tar.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/terminal.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/terminfo.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/test.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/tga.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/trig.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/true.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/udf.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ufs1.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/ufs2.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/uhci.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/usb_keyboard.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/usb.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/usbms.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/usbserial_common.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/usbserial_ftdi.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/usbserial_pl2303.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/usbtest.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/video_bochs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/video_cirrus.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/video_fb.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/video.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/videotest.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/xfs.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/xnu.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/xnu_uuid.mod /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/command.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/crypto.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/fs.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/handler.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/moddep.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/partmap.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/parttool.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/terminal.lst /boot/grub2_efi_x64 + for file in '${pkglibdir}/*.mod' '${pkglibdir}/*.lst' + cp -f /grub2/grub2_efi_x86_64/lib/grub2_efi_x64/x86_64-efi/video.lst /boot/grub2_efi_x64 + '[' x86_64-efi = i386-pc ']' + '[' x86_64-efi = sparc64-ieee1275 ']' + mkdir -p /boot/grub2_efi_x64/locale/ + for dir in '${localedir}/*' + test -f '/grub2/grub2_efi_x86_64/share/locale/*/LC_MESSAGES/grub.mo' ++ /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map --target=device /boot/grub2_efi_x64 + grub_device=/dev/sda8 + test -f /boot/grub2_efi_x64/grubenv ++ /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map --target=fs --device /dev/sda8 + fs_module=fat + test xfat = x -a x = x + partmap_module= ++ /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map --target=partmap --device /dev/sda8 + for x in '`$grub_probe --target=partmap --device ${grub_device} 2> /dev/null`' + partmap_module=' part_gpt' ++ /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map --target=abstraction --device /dev/sda8 + devabstraction_module= + modules=' ata' + modules=' ata fat part_gpt ' ++ make_system_path_relative_to_its_root /boot/grub2_efi_x64 ++ /grub2/grub2_efi_x86_64/bin/grub2_efi_x64-mkrelpath /boot/grub2_efi_x64 + relative_grubdir=/grub2_efi_x64 + '[' x/grub2_efi_x64 = x ']' + prefix_drive= + config_opt= + rm -f /boot/grub2_efi_x64/load.cfg + '[' x '!=' x ']' + '[' x = x ']' + '[' x/dev/sda '!=' x ']' + echo /dev/sda + grep -qx '(.*)' ++ /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map --target=drive --device /dev/sda + install_drive='(hd0)' ++ echo '(hd0)' ++ sed -e 's/,[a-z0-9,]*//g' + install_drive='(hd0)' ++ /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map --target=drive --device /dev/sda8 + grub_drive='(hd0,gpt8)' ++ echo '(hd0,gpt8)' ++ sed -e 's/,[a-z0-9,]*//g' + grub_drive='(hd0)' + '[' ata = ata ']' ++ /grub2/grub2_efi_x86_64/sbin/grub2_efi_x64-probe --device-map=/boot/grub2_efi_x64/device.map --target=fs_uuid --device /dev/sda8 + uuid=86e4-7e09 + '[' x86e4-7e09 = x ']' + echo 'search.fs_uuid 86e4-7e09 root ' + echo 'set prefix=($root)/grub2_efi_x64' + config_opt='-c /boot/grub2_efi_x64/load.cfg ' + modules=' ata fat part_gpt search_fs_uuid' + case "${target_cpu}-${platform}" in + mkimage_target=x86_64-efi + case "${target_cpu}-${platform}" in + imgext=efi + /grub2/grub2_efi_x86_64/bin/grub2_efi_x64-mkimage -c /boot/grub2_efi_x64/load.cfg -O x86_64-efi --output=/boot/grub2_efi_x64/core.efi --prefix=/grub2_efi_x64 ata fat part_gpt search_fs_uuid + '[' x86_64-efi = mips-yeeloong ']' + '[' x86_64-efi = i386-ieee1275 ']' + '[' x86_64-efi = powerpc-ieee1275 ']' + '[' x86_64-efi = i386-efi ']' + '[' x86_64-efi = x86_64-efi ']' + /grub2/grub2_efi_x86_64/bin/grub2_efi_x64-mkimage -c /boot/grub2_efi_x64/load.cfg -O x86_64-efi --output=/boot/grub2_efi_x64/grub.efi --prefix= ata fat part_gpt search_fs_uuid + '[' x86_64-efi = i386-pc ']' + '[' x86_64-efi = sparc64-ieee1275 ']' + '[' x86_64-efi = i386-ieee1275 ']' + '[' x86_64-efi = powerpc-ieee1275 ']' + '[' xefi = xefi ']' + test -f /grub2/grub2_efi_x86_64/etc/default/grub + efidir= + test -d /boot/efi + test -n '' + test -n '' + test -n '' + efidir=/boot/grub2_efi_x64 + efi_distributor= + efi_file=grub.efi + cp /boot/grub2_efi_x64/core.efi /boot/grub2_efi_x64/grub.efi + test no = no + test -n '' + echo 'Installation finished. No error reported.' Installation finished. No error reported. + exit 0 [keshav_pr@keshav-laptop sbin]$ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFT] install branch 2010-08-30 19:10 [RFT] install branch Vladimir 'φ-coder/phcoder' Serbinenko 2010-08-31 13:37 ` KESHAV P.R. @ 2010-09-08 10:59 ` Colin Watson 2010-09-08 11:44 ` Vladimir 'φ-coder/phcoder' Serbinenko 1 sibling, 1 reply; 4+ messages in thread From: Colin Watson @ 2010-09-08 10:59 UTC (permalink / raw) To: grub-devel On Mon, Aug 30, 2010 at 09:10:27PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello. I've just merged all 3 different grub-install's we have in our > tree to a single grub-install. This work is available as bzr checkout > under http://bzr.savannah.gnu.org/r/grub/branches/install/. I also > merged the EFI work by Colin Watson. Can anyone with ieee1275 and efi > systems test the install branch? I haven't managed to test this yet, but I see one error: with EFI, install_device is set after it needs to be used. I think you need something like the following patch. BTW, was there any particular reason you dropped the handling of target_cpu=arm from my patch, or did I just add that after sending it to you or something? I know we don't support ARM yet much less ARM/UEFI, but there seems no harm in listing all of the architectures from the UEFI specification. === modified file 'util/grub-install.in' --- util/grub-install.in 2010-09-06 21:03:25 +0000 +++ util/grub-install.in 2010-09-08 00:37:34 +0000 @@ -301,6 +301,95 @@ else exit 1 fi +if [ x"$platform" = xefi ]; then + # Get GRUB_DISTRIBUTOR. + if test -f ${sysconfdir}/default/grub ; then + . ${sysconfdir}/default/grub + fi + + # Find the EFI System Partition. + efidir= + if test -d ${bootdir}/efi; then + install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}/efi` + # Is it a mount point? + if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}`"; then + efidir=${bootdir}/efi + fi + elif test -n "$rootdir" && test "x$rootdir" != "x/"; then + # The EFI System Partition may have been given directly using + # --root-directory. + install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}` + # Is it a mount point? + if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}/..`"; then + efidir=${rootdir} + fi + fi + + if test -n "$efidir"; then + efi_fs=`$grub_probe --target=fs --device-map=${device_map} ${efidir}` + if test "x$efi_fs" = xfat; then :; else + echo "${efidir} doesn't look like an EFI partition." 1>&2 + efidir= + fi + fi + + if test -n "$efidir"; then + # The EFI specification requires that an EFI System Partition must + # contain an "EFI" subdirectory, and that OS loaders are stored in + # subdirectories below EFI. Vendors are expected to pick names that do + # not collide with other vendors. To minimise collisions, we use the + # name of our distributor if possible. + if test $removable = yes; then + # The specification makes stricter requirements of removable + # devices, in order that only one image can be automatically loaded + # from them. The image must always reside under /EFI/BOOT, and it + # must have a specific file name depending on the architecture. + efi_distributor=BOOT + case "$target_cpu" in + i386) + efi_file=BOOTIA32.EFI ;; + x86-64) + efi_file=BOOTX64.EFI ;; + # GRUB does not yet support these architectures, but they're defined + # by the specification so we include them here to ease future + # expansion. + ia64) + efi_file=BOOTIA64.EFI ;; + esac + else + efi_distributor="$(echo "$GRUB_DISTRIBUTOR" | tr '[A-Z]' '[a-z]' | cut -d' ' -f1)" + if test -z "$efi_distributor"; then + efi_distributor=grub + fi + # It is convenient for each architecture to have a different + # efi_file, so that different versions can be installed in parallel. + case "$target_cpu" in + i386) + efi_file=grubia32.efi ;; + x86-64) + efi_file=grubx64.efi ;; + # GRUB does not yet support these architectures, but they're defined + # by the specification so we include them here to ease future + # expansion. + ia64) + efi_file=grubia64.efi ;; + *) + efi_file=grub.efi ;; + esac + # TODO: We should also use efibootmgr, if available, to add a Boot + # entry for ourselves. + fi + efidir="$efidir/EFI/$efi_distributor" + mkdir -p "$efidir" || exit 1 + else + # We don't know what's going on. Fall back to traditional + # (non-specification-compliant) behaviour. + efidir="$grubdir" + efi_distributor= + efi_file=grub.efi + fi +fi + # Create the GRUB directory if it is not present. mkdir -p "$grubdir" || exit 1 @@ -501,93 +590,8 @@ elif [ "${target_cpu}-${platform}" = "i3 } fi elif [ x"$platform" = xefi ]; then - # Get GRUB_DISTRIBUTOR. - if test -f ${sysconfdir}/default/grub ; then - . ${sysconfdir}/default/grub - fi - - # Find the EFI System Partition. - efidir= - if test -d ${bootdir}/efi; then - install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}/efi` - # Is it a mount point? - if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}`"; then - efidir=${bootdir}/efi - fi - elif test -n "$rootdir" && test "x$rootdir" != "x/"; then - # The EFI System Partition may have been given directly using - # --root-directory. - install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}` - # Is it a mount point? - if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}/..`"; then - efidir=${rootdir} - fi - fi - - if test -n "$efidir"; then - efi_fs=`$grub_probe --target=fs --device-map=${device_map} ${efidir}` - if test "x$efi_fs" = xfat; then :; else - echo "${efidir} doesn't look like an EFI partition." 1>&2 - efidir= - fi - fi - - if test -n "$efidir"; then - # The EFI specification requires that an EFI System Partition must - # contain an "EFI" subdirectory, and that OS loaders are stored in - # subdirectories below EFI. Vendors are expected to pick names that do - # not collide with other vendors. To minimise collisions, we use the - # name of our distributor if possible. - if test $removable = yes; then - # The specification makes stricter requirements of removable - # devices, in order that only one image can be automatically loaded - # from them. The image must always reside under /EFI/BOOT, and it - # must have a specific file name depending on the architecture. - efi_distributor=BOOT - case "$target_cpu" in - i386) - efi_file=BOOTIA32.EFI ;; - x86-64) - efi_file=BOOTX64.EFI ;; - # GRUB does not yet support these architectures, but they're defined - # by the specification so we include them here to ease future - # expansion. - ia64) - efi_file=BOOTIA64.EFI ;; - esac - else - efi_distributor="$(echo "$GRUB_DISTRIBUTOR" | tr '[A-Z]' '[a-z]' | cut -d' ' -f1)" - if test -z "$efi_distributor"; then - efi_distributor=grub - fi - # It is convenient for each architecture to have a different - # efi_file, so that different versions can be installed in parallel. - case "$target_cpu" in - i386) - efi_file=grubia32.efi ;; - x86-64) - efi_file=grubx64.efi ;; - # GRUB does not yet support these architectures, but they're defined - # by the specification so we include them here to ease future - # expansion. - ia64) - efi_file=grubia64.efi ;; - *) - efi_file=grub.efi ;; - esac - # TODO: We should also use efibootmgr, if available, to add a Boot - # entry for ourselves. - fi - efidir="$efidir/EFI/$efi_distributor" - mkdir -p "$efidir" || exit 1 - else - # We don't know what's going on. Fall back to traditional - # (non-specification-compliant) behaviour. - efidir="$grubdir" - efi_distributor= - efi_file=grub.efi - fi cp ${grubdir}/core.${imgext} ${efidir}/${efi_file} + # Try to make this image bootable using the EFI Boot Manager, if available. if test "$removable" = no && test -n "$efi_distributor" && \ test -n "$efibootmgr"; then @@ -619,7 +623,6 @@ elif [ x"$platform" = xefi ]; then -L "$GRUB_DISTRIBUTOR" -l "\\EFI\\$efi_distributor\\$efi_file" fi fi - fi echo "Installation finished. No error reported." Thanks, -- Colin Watson [cjwatson@ubuntu.com] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFT] install branch 2010-09-08 10:59 ` Colin Watson @ 2010-09-08 11:44 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 4+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-09-08 11:44 UTC (permalink / raw) To: grub-devel [-- Attachment #1: Type: text/plain, Size: 9792 bytes --] On 09/08/2010 12:59 PM, Colin Watson wrote: > On Mon, Aug 30, 2010 at 09:10:27PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> Hello. I've just merged all 3 different grub-install's we have in our >> tree to a single grub-install. This work is available as bzr checkout >> under http://bzr.savannah.gnu.org/r/grub/branches/install/. I also >> merged the EFI work by Colin Watson. Can anyone with ieee1275 and efi >> systems test the install branch? >> > I haven't managed to test this yet, but I see one error: with EFI, > install_device is set after it needs to be used. I think you need > something like the following patch. > > You can commit it into install branch. > BTW, was there any particular reason you dropped the handling of > target_cpu=arm from my patch, or did I just add that after sending it to > you or something? I know we don't support ARM yet much less ARM/UEFI, > but there seems no harm in listing all of the architectures from the > UEFI specification. > EFI concept is pretty much against the spirit of free software. Even though some sources are released, the most important ones (initialisation routines and device drivers for real platforms) aren't. While ia64, i386 and amd64 are already in EFI territory enough for us to have to support them, supporting it on ARM, rather than free-software UBoot would be counter-productive. > === modified file 'util/grub-install.in' > --- util/grub-install.in 2010-09-06 21:03:25 +0000 > +++ util/grub-install.in 2010-09-08 00:37:34 +0000 > @@ -301,6 +301,95 @@ else > exit 1 > fi > > +if [ x"$platform" = xefi ]; then > + # Get GRUB_DISTRIBUTOR. > + if test -f ${sysconfdir}/default/grub ; then > + . ${sysconfdir}/default/grub > + fi > + > + # Find the EFI System Partition. > + efidir= > + if test -d ${bootdir}/efi; then > + install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}/efi` > + # Is it a mount point? > + if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}`"; then > + efidir=${bootdir}/efi > + fi > + elif test -n "$rootdir" && test "x$rootdir" != "x/"; then > + # The EFI System Partition may have been given directly using > + # --root-directory. > + install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}` > + # Is it a mount point? > + if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}/..`"; then > + efidir=${rootdir} > + fi > + fi > + > + if test -n "$efidir"; then > + efi_fs=`$grub_probe --target=fs --device-map=${device_map} ${efidir}` > + if test "x$efi_fs" = xfat; then :; else > + echo "${efidir} doesn't look like an EFI partition." 1>&2 > + efidir= > + fi > + fi > + > + if test -n "$efidir"; then > + # The EFI specification requires that an EFI System Partition must > + # contain an "EFI" subdirectory, and that OS loaders are stored in > + # subdirectories below EFI. Vendors are expected to pick names that do > + # not collide with other vendors. To minimise collisions, we use the > + # name of our distributor if possible. > + if test $removable = yes; then > + # The specification makes stricter requirements of removable > + # devices, in order that only one image can be automatically loaded > + # from them. The image must always reside under /EFI/BOOT, and it > + # must have a specific file name depending on the architecture. > + efi_distributor=BOOT > + case "$target_cpu" in > + i386) > + efi_file=BOOTIA32.EFI ;; > + x86-64) > + efi_file=BOOTX64.EFI ;; > + # GRUB does not yet support these architectures, but they're defined > + # by the specification so we include them here to ease future > + # expansion. > + ia64) > + efi_file=BOOTIA64.EFI ;; > + esac > + else > + efi_distributor="$(echo "$GRUB_DISTRIBUTOR" | tr '[A-Z]' '[a-z]' | cut -d' ' -f1)" > + if test -z "$efi_distributor"; then > + efi_distributor=grub > + fi > + # It is convenient for each architecture to have a different > + # efi_file, so that different versions can be installed in parallel. > + case "$target_cpu" in > + i386) > + efi_file=grubia32.efi ;; > + x86-64) > + efi_file=grubx64.efi ;; > + # GRUB does not yet support these architectures, but they're defined > + # by the specification so we include them here to ease future > + # expansion. > + ia64) > + efi_file=grubia64.efi ;; > + *) > + efi_file=grub.efi ;; > + esac > + # TODO: We should also use efibootmgr, if available, to add a Boot > + # entry for ourselves. > + fi > + efidir="$efidir/EFI/$efi_distributor" > + mkdir -p "$efidir" || exit 1 > + else > + # We don't know what's going on. Fall back to traditional > + # (non-specification-compliant) behaviour. > + efidir="$grubdir" > + efi_distributor= > + efi_file=grub.efi > + fi > +fi > + > # Create the GRUB directory if it is not present. > mkdir -p "$grubdir" || exit 1 > > @@ -501,93 +590,8 @@ elif [ "${target_cpu}-${platform}" = "i3 > } > fi > elif [ x"$platform" = xefi ]; then > - # Get GRUB_DISTRIBUTOR. > - if test -f ${sysconfdir}/default/grub ; then > - . ${sysconfdir}/default/grub > - fi > - > - # Find the EFI System Partition. > - efidir= > - if test -d ${bootdir}/efi; then > - install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}/efi` > - # Is it a mount point? > - if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${bootdir}`"; then > - efidir=${bootdir}/efi > - fi > - elif test -n "$rootdir" && test "x$rootdir" != "x/"; then > - # The EFI System Partition may have been given directly using > - # --root-directory. > - install_device=`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}` > - # Is it a mount point? > - if test "x$install_device" != "x`$grub_mkdevicemap --device-map=/dev/stdout | $grub_probe --target=device --device-map=/dev/stdin ${rootdir}/..`"; then > - efidir=${rootdir} > - fi > - fi > - > - if test -n "$efidir"; then > - efi_fs=`$grub_probe --target=fs --device-map=${device_map} ${efidir}` > - if test "x$efi_fs" = xfat; then :; else > - echo "${efidir} doesn't look like an EFI partition." 1>&2 > - efidir= > - fi > - fi > - > - if test -n "$efidir"; then > - # The EFI specification requires that an EFI System Partition must > - # contain an "EFI" subdirectory, and that OS loaders are stored in > - # subdirectories below EFI. Vendors are expected to pick names that do > - # not collide with other vendors. To minimise collisions, we use the > - # name of our distributor if possible. > - if test $removable = yes; then > - # The specification makes stricter requirements of removable > - # devices, in order that only one image can be automatically loaded > - # from them. The image must always reside under /EFI/BOOT, and it > - # must have a specific file name depending on the architecture. > - efi_distributor=BOOT > - case "$target_cpu" in > - i386) > - efi_file=BOOTIA32.EFI ;; > - x86-64) > - efi_file=BOOTX64.EFI ;; > - # GRUB does not yet support these architectures, but they're defined > - # by the specification so we include them here to ease future > - # expansion. > - ia64) > - efi_file=BOOTIA64.EFI ;; > - esac > - else > - efi_distributor="$(echo "$GRUB_DISTRIBUTOR" | tr '[A-Z]' '[a-z]' | cut -d' ' -f1)" > - if test -z "$efi_distributor"; then > - efi_distributor=grub > - fi > - # It is convenient for each architecture to have a different > - # efi_file, so that different versions can be installed in parallel. > - case "$target_cpu" in > - i386) > - efi_file=grubia32.efi ;; > - x86-64) > - efi_file=grubx64.efi ;; > - # GRUB does not yet support these architectures, but they're defined > - # by the specification so we include them here to ease future > - # expansion. > - ia64) > - efi_file=grubia64.efi ;; > - *) > - efi_file=grub.efi ;; > - esac > - # TODO: We should also use efibootmgr, if available, to add a Boot > - # entry for ourselves. > - fi > - efidir="$efidir/EFI/$efi_distributor" > - mkdir -p "$efidir" || exit 1 > - else > - # We don't know what's going on. Fall back to traditional > - # (non-specification-compliant) behaviour. > - efidir="$grubdir" > - efi_distributor= > - efi_file=grub.efi > - fi > cp ${grubdir}/core.${imgext} ${efidir}/${efi_file} > + > # Try to make this image bootable using the EFI Boot Manager, if available. > if test "$removable" = no && test -n "$efi_distributor" && \ > test -n "$efibootmgr"; then > @@ -619,7 +623,6 @@ elif [ x"$platform" = xefi ]; then > -L "$GRUB_DISTRIBUTOR" -l "\\EFI\\$efi_distributor\\$efi_file" > fi > fi > - > fi > > echo "Installation finished. No error reported." > > Thanks, > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 294 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-08 11:44 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-08-30 19:10 [RFT] install branch Vladimir 'φ-coder/phcoder' Serbinenko 2010-08-31 13:37 ` KESHAV P.R. 2010-09-08 10:59 ` Colin Watson 2010-09-08 11:44 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.