diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-12-20 22:08:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-12-20 22:08:29 +0000 |
commit | 010c437d0571b3019b37373d09d2547018af7bff (patch) | |
tree | 37b18563027891d94fbbd9d05cc821482a5917c7 | |
parent | da939302e70d914394241d5ae1cb1b3966f29afc (diff) |
plug the new functions into iso creation scripts
-rwxr-xr-x | iso32 | 11 | ||||
-rwxr-xr-x | iso64 | 12 |
2 files changed, 23 insertions, 0 deletions
@@ -6,20 +6,31 @@ kernelconfig checkroot makeisox86 () { + # create live iso layout mkdir -p "$coremntx86" mkdir -p "$isobootx86" + # mount && copy our core stage 4 image mount -t squashfs "$chrootx86" "$coremntx86" rsync -aHAXr --progress "$coremntx86/" "$livedirx86/" cp -avx ""$livedirx86"/boot/"$kernelnamex86"" ""$isonamex86"/boot/vmlinuz" cp -avx ""$livedirx86"/boot/"$ramfsnamex86"" ""$isonamex86"/boot/initrd" sha256sum ""$isonamex86"/boot/vmlinuz" | tee ""$isonamex86"/boot/vmlinuz.sha256" sha256sum ""$isonamex86"/boot/initrd" | tee ""$isonamex86"/boot/initrd.sha256" + # configure portage && give up control for package / desktop environment installation + isostartx86 + isooverlaysx86 + isobuildsystemx86 + isochrootx86 + isostopx86 + # squash live environment mksquashfs "$livedirx86" ""$livedirx86".squashfs" -b 1048576 -comp xz -Xdict-size 100% sha256sum ""$livedirx86".squashfs" | tee ""$livedirx86".squashfs.sha256" + # enable live boot touch "$livedirx86" } bootcorex86 () { + # configure live bootloader git clone https://gitlab.com/rogentos/boot-core.git "$bootcorepath" cp -avx "$bootcorefiles" "$isonamex86" } @@ -6,21 +6,33 @@ kernelconfig checkroot makeisox64 () { + # create live iso layout mkdir -p "$coremntx64" mkdir -p "$isobootx64" mkdir -p "$isoefibootx64" + # mount && copy our core stage 4 image mount -t squashfs "$chrootx64" "$coremntx64" rsync -aHAXr --progress "$coremntx64/" "$livedirx64/" + # copy our kernel cp -avx ""$livedirx64"/boot/"$kernelnamex64"" ""$isonamex64"/boot/vmlinuz" cp -avx ""$livedirx64"/boot/"$ramfsnamex64"" ""$isonamex64"/boot/initrd" sha256sum ""$isonamex64"/boot/vmlinuz" | tee ""$isonamex64"/boot/vmlinuz.sha256" sha256sum ""$isonamex64"/boot/initrd" | tee ""$isonamex64"/boot/initrd.sha256" + # configure portage && give up control for package / desktop environment installation + isostartx64 + isooverlaysx64 + isobuildsystemx64 + isochrootx64 + isostopx64 + # squash live environment mksquashfs "$livedirx64" ""$livedirx64".squashfs" -b 1048576 -comp xz -Xdict-size 100% sha256sum ""$livedirx64".squashfs" | tee ""$livedirx64".squashfs.sha256" + # enable live boot touch "$livedirx64" } bootcorex64 () { + # configure live bootloader git clone https://gitlab.com/rogentos/boot-core.git "$bootcorepath" cp -avx "$bootcorefiles" "$isonamex64" } |