summaryrefslogtreecommitdiff
path: root/iso32
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-11-29 14:56:41 +0000
committerV3n3RiX <venerix@rogentos.ro>2015-11-29 14:56:41 +0000
commit18c8a8ac310a52184b596ff44403317b10d5a62e (patch)
tree65dad80fe3fc1dc4020b571ac78de29fe1d92781 /iso32
parentfffd02bdf5a3613e0835fa7def17b1d9b2d8a8ec (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-xiso3247
1 files changed, 47 insertions, 0 deletions
diff --git a/iso32 b/iso32
new file mode 100755
index 0000000..8b4d80d
--- /dev/null
+++ b/iso32
@@ -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