summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-03-13 11:38:10 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-03-13 11:38:10 +0000
commitd74355ee991d0af9ce80b69ad0ac2d9984208465 (patch)
treeb85d66e5a3f69a1cfab3178558ea5d4ed1647327
parent20cd8243888a27f260e93452c12c2e9dda0f854f (diff)
experimental EFI support
-rwxr-xr-xiso646
-rwxr-xr-xlibvasile6
-rwxr-xr-xvasile1
3 files changed, 13 insertions, 0 deletions
diff --git a/iso64 b/iso64
index 79f09c5..897dbf5 100755
--- a/iso64
+++ b/iso64
@@ -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
diff --git a/libvasile b/libvasile
index f591776..911b4ea 100755
--- a/libvasile
+++ b/libvasile
@@ -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"
diff --git a/vasile b/vasile
index 4f45bcb..ed1b3e2 100755
--- a/vasile
+++ b/vasile
@@ -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