diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-01-03 23:21:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-01-03 23:21:11 +0000 |
commit | a299245ad4b5e0df7047ec0cf282f465a2358497 (patch) | |
tree | 714aaeb5503ac68a82e269980ec7f966df799be7 /iso64 | |
parent | b4c77cf1367b387d5fb976b945a9686b73e0c07c (diff) |
with this commit vasile becomes able to create iso's ... hurray
Diffstat (limited to 'iso64')
-rwxr-xr-x | iso64 | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -5,7 +5,7 @@ kernelconfig checkroot -makeisox64 () { +prepareisox64 () { # we really need this folder as quick as possible mkdir -p "$isosyncdirx64" # create an empty 15GB ext4 fs were our rootfs will stay @@ -46,7 +46,7 @@ makeisox64 () { mv ""$isorootdirx64/"squashfs.img" "$isoliveosdirx64" } -bootcorex64 () { +bootcoreisox64 () { # configure live bootloader git clone https://gitlab.com/rogentos/boot-core.git "$bootcorepath" cp -avx "$bootcorefiles" "$isorootdirx64" @@ -60,11 +60,16 @@ cleanupisox64 () { rm -rf "$bootcorepath" } +makeisox64 () { + grub2-mkrescue -o ""$releasename"-"$releasetarget"-"$releaseversion"-"$isomainarchx64".iso" "$isorootdirx64" +} + main () { chrootchecksumx64 - makeisox64 - bootcorex64 + prepareisox64 + bootcoreisox64 cleanupisox64 + makeisox64 } main |