From 18c8a8ac310a52184b596ff44403317b10d5a62e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 29 Nov 2015 14:56:41 +0000 Subject: draft of iso scripts, they do what they're intended...prepare the iso layout...the rest of code should and will go into libvasile --- iso64 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 iso64 (limited to 'iso64') diff --git a/iso64 b/iso64 new file mode 100755 index 0000000..c455615 --- /dev/null +++ b/iso64 @@ -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 -- cgit v1.2.3