diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 14:56:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 14:56:41 +0000 |
commit | 18c8a8ac310a52184b596ff44403317b10d5a62e (patch) | |
tree | 65dad80fe3fc1dc4020b571ac78de29fe1d92781 /iso32 | |
parent | fffd02bdf5a3613e0835fa7def17b1d9b2d8a8ec (diff) |
draft of iso scripts, they do what they're intended...prepare the iso layout...the rest of code should and will go into libvasile
Diffstat (limited to 'iso32')
-rwxr-xr-x | iso32 | 47 |
1 files changed, 47 insertions, 0 deletions
@@ -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 |