diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-03-13 11:38:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-03-13 11:38:10 +0000 |
commit | d74355ee991d0af9ce80b69ad0ac2d9984208465 (patch) | |
tree | b85d66e5a3f69a1cfab3178558ea5d4ed1647327 | |
parent | 20cd8243888a27f260e93452c12c2e9dda0f854f (diff) |
experimental EFI support
-rwxr-xr-x | iso64 | 6 | ||||
-rwxr-xr-x | libvasile | 6 | ||||
-rwxr-xr-x | vasile | 1 |
3 files changed, 13 insertions, 0 deletions
@@ -30,6 +30,12 @@ prepareisox64 () { isostopx64 # copy live initramfs into cdroot mv ""$isosyncdirx64"/boot/"$isoramfsname"" ""$isorootdirx64"/boot/initrd" + # generate live efi image + isostartx64 + isoefiimgx64 + isostopx64 + # copy efi image into cdroot + mv ""$isosyncdirx64"/boot/grub/bootx64.efi" "$isoefibootdirx64" # configure portage && give up control for package / desktop environment installation isostartx64 isooverlaysx64 @@ -295,6 +295,12 @@ isoramfsx64 () { chroot "$isosyncdirx64" su - "$isouser" -c "$isoramfs" } +isoefiimgx64 () { + echo "generating live efi image" + echo "" + chroot "$isosyncdirx64" su - "$isouser" -c "$isoefiimg" +} + isochrootx64 () { echo -e "" echo -e "DROPPING YOU TO A ROOT SHELL INTO ISO ENVIRONMENT" @@ -66,6 +66,7 @@ export local isoenvupdate="/usr/sbin/env-update && . /etc/profile" export local isoprofile="eselect profile set 1" export local isoramfs="dracut -N -a dmsquash-live -a pollcdrom --force --kver "$kernelver"" export local isoramfsname="initramfs-"$kernelver".img" +export local isoefiimg="grub2-mkimage -d /usr/lib64/grub/x86_64-efi -o bootx64.efi -O x86_64-efi ext2 fat udf btrfs ntfs reiserfs xfs hfsplus lvm ata part_msdos part_gpt part_apple bsd search_fs_uuid normal chain iso9660 configfile help loadenv reboot cat search memdisk tar boot linux chain" # x64 specific build variables |