diff options
-rwxr-xr-x | build32 | 22 | ||||
-rwxr-xr-x | build64 | 22 | ||||
-rwxr-xr-x | iso32 | 47 | ||||
-rwxr-xr-x | iso64 | 47 | ||||
-rwxr-xr-x | libvasile | 6 |
5 files changed, 118 insertions, 26 deletions
@@ -1,5 +1,10 @@ #!/usr/bin/env bash +# Vasile needs root privileges and a proper kernel to run + +checkroot +kernelconfig + chrootpreparex86 () { # check our environment for sanity # if safe, trigger start && break the loop to build packages @@ -22,16 +27,13 @@ chrootpreparex86 () { } main () { - kernelconfig - if checkroot ; then - chrootchecksumx86 - chrootpreparex86 - chrootoverlaysx86 - chrootbuildsystemx86 - chrootbuildx86 - chrootx86 - chrootstop - fi + chrootchecksumx86 + chrootpreparex86 + chrootoverlaysx86 + chrootbuildsystemx86 + chrootbuildx86 + chrootx86 + chrootstop } main @@ -1,5 +1,10 @@ #!/usr/bin/env bash +# Vasile needs root privileges and a proper kernel to run + +kernelconfig +checkroot + chrootpreparex64 () { # check our environment for sanity # if safe, trigger start && break the loop to build packages @@ -22,16 +27,13 @@ chrootpreparex64 () { } main () { - kernelconfig - if checkroot ; then - chrootchecksumx64 - chrootpreparex64 - chrootoverlaysx64 - chrootbuildsystemx64 - chrootbuildx64 - chrootx64 - chrootstop - fi + chrootchecksumx64 + chrootpreparex64 + chrootoverlaysx64 + chrootbuildsystemx64 + chrootbuildx64 + chrootx64 + chrootstop } main @@ -0,0 +1,47 @@ +#!/usr/bin/env bash + +# Vasile needs root privileges and a proper kernel to run + +kernelconfig +checkroot + +export local isoarch="x86" +export local isoname=""$releasename"-"$releaseversion"-"$isoarch"" + +dailyisox86 () { + export local isostatus="DAILY" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +alphaisox86 () { + export local isostatus="ALPHA" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +betaisox86 () { + export local isostatus="BETA" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +rcisox86 () { + export local isostatus="RC" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +stableisox86 () { + export local isostatus="STABLE" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +case $2 in + --daily) dailyisox86 + ;; + --alpha) alphaisox86 + ;; + --beta) betaisox86 + ;; + --rc) rcisox86 + ;; + --stable) stableisox86 + ;; +esac @@ -0,0 +1,47 @@ +#!/usr/bin/env bash + +# Vasile needs root privileges and a proper kernel to run + +kernelconfig +checkroot + +export local isoarch="amd64" +export local isoname=""$releasename"-"$releaseversion"-"$isoarch"" + +dailyisox64 () { + export local isostatus="DAILY" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +alphaisox64 () { + export local isostatus="ALPHA" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +betaisox64 () { + export local isostatus="BETA" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +rcisox64 () { + export local isostatus="RC" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +stableisox64 () { + export local isostatus="STABLE" + mkdir -p ""$isoname"-"$isostatus"/livecd" +} + +case $2 in + --daily) dailyisox64 + ;; + --alpha) alphaisox64 + ;; + --beta) betaisox64 + ;; + --rc) rcisox64 + ;; + --stable) stableisox64 + ;; +esac @@ -78,9 +78,6 @@ chrootchecksumx64 () { done } -#coresetupx64 () { -#} - chrootstartx64 () { mount -t squashfs "$chrootx64" "$rodir" if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then @@ -187,9 +184,6 @@ chrootchecksumx86 () { done } -#coresetupx86 () { -#} - chrootstartx86 () { mount -t squashfs "$chrootx86" "$rodir" if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then |