summaryrefslogtreecommitdiff
path: root/buildiso
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-05-14 15:54:33 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-05-14 15:54:33 +0100
commit3bca8966cfbe0ec58e3a58cc4a592b7002b0e1c6 (patch)
tree5707dc5bfea2daf26139a8ed108692b0a5f88579 /buildiso
parentfaee5dfe770876aada81d676658cb708f8d72ed7 (diff)
plug all parts together...from now on, chainloader will be created automatically
Diffstat (limited to 'buildiso')
-rwxr-xr-xbuildiso7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildiso b/buildiso
index 86c20b3..fdf993b 100755
--- a/buildiso
+++ b/buildiso
@@ -41,6 +41,13 @@ prepareiso () {
# copy efi image into cdroot
mv ""$isosyncdir"/root/bootx64.efi" "$isoefibootdir"
chmod 755 ""$isoefibootdir"/bootx64.efi"
+ # generate grub chainloader for syslinux
+ isostart
+ isochainload
+ isostop
+ # copy chainloader parts into cdroot
+ mv ""$isosyncdir"/root/core.img" "$isobootdir"
+ cp -avx ""$isosyncdir"/usr/lib64/grub/i386-pc/lnxboot.img" "$isobootdir"
# configure portage && give up control for package / desktop environment installation
isostart
isooverlays