summaryrefslogtreecommitdiff
path: root/iso32
diff options
context:
space:
mode:
Diffstat (limited to 'iso32')
-rwxr-xr-xiso3210
1 files changed, 8 insertions, 2 deletions
diff --git a/iso32 b/iso32
index 46fb501..4ccf3b1 100755
--- a/iso32
+++ b/iso32
@@ -17,12 +17,18 @@ makeisox86 () {
mkdir -p "$isoliveosdirx86"
mkdir -p "$isosupersquashdirx86"
mkdir -p "$isolivesqfsdirx86"
- # mount && copy our core stage 4 image
+ # mount && copy core stage 4 image
mount -t squashfs "$chrootx86" "$isostagingdirx86"
mount -t ext4 ""$isosyncdirx86".img" "$isosyncdirx86"
rsync -aHAXr --progress "$isostagingdirx86/" "$isosyncdirx86/"
- # copy our kernel into cdroot
+ # copy kernel into cdroot
cp -avx ""$isosyncdirx86"/boot/"$isokernelnamex86"" ""$isorootdirx86"/boot/vmlinuz"
+ # generate live initramfs
+ isostartx86
+ isoramfsx86
+ isostopx86
+ # copy live initramfs
+ mv ""$isosyncdirx86"/boot/"$isoramfsname"" ""$isorootdirx86"/boot/initrd"
# configure portage && give up control for package / desktop environment installation
isostartx86
isooverlaysx86