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 /iso64 | |
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 'iso64')
-rwxr-xr-x | iso64 | 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="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 |