summaryrefslogtreecommitdiff
path: root/iso64
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 /iso64
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 'iso64')
-rwxr-xr-xiso6447
1 files changed, 47 insertions, 0 deletions
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