summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild3222
-rwxr-xr-xbuild6422
-rwxr-xr-xiso3247
-rwxr-xr-xiso6447
-rwxr-xr-xlibvasile6
5 files changed, 118 insertions, 26 deletions
diff --git a/build32 b/build32
index d084044..56a391b 100755
--- a/build32
+++ b/build32
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Vasile needs root privileges and a proper kernel to run
+
+checkroot
+kernelconfig
+
chrootpreparex86 () {
# check our environment for sanity
# if safe, trigger start && break the loop to build packages
@@ -22,16 +27,13 @@ chrootpreparex86 () {
}
main () {
- kernelconfig
- if checkroot ; then
- chrootchecksumx86
- chrootpreparex86
- chrootoverlaysx86
- chrootbuildsystemx86
- chrootbuildx86
- chrootx86
- chrootstop
- fi
+ chrootchecksumx86
+ chrootpreparex86
+ chrootoverlaysx86
+ chrootbuildsystemx86
+ chrootbuildx86
+ chrootx86
+ chrootstop
}
main
diff --git a/build64 b/build64
index d658208..c4c507f 100755
--- a/build64
+++ b/build64
@@ -1,5 +1,10 @@
#!/usr/bin/env bash
+# Vasile needs root privileges and a proper kernel to run
+
+kernelconfig
+checkroot
+
chrootpreparex64 () {
# check our environment for sanity
# if safe, trigger start && break the loop to build packages
@@ -22,16 +27,13 @@ chrootpreparex64 () {
}
main () {
- kernelconfig
- if checkroot ; then
- chrootchecksumx64
- chrootpreparex64
- chrootoverlaysx64
- chrootbuildsystemx64
- chrootbuildx64
- chrootx64
- chrootstop
- fi
+ chrootchecksumx64
+ chrootpreparex64
+ chrootoverlaysx64
+ chrootbuildsystemx64
+ chrootbuildx64
+ chrootx64
+ chrootstop
}
main
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
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
diff --git a/libvasile b/libvasile
index bf6696a..84e4d9b 100755
--- a/libvasile
+++ b/libvasile
@@ -78,9 +78,6 @@ chrootchecksumx64 () {
done
}
-#coresetupx64 () {
-#}
-
chrootstartx64 () {
mount -t squashfs "$chrootx64" "$rodir"
if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then
@@ -187,9 +184,6 @@ chrootchecksumx86 () {
done
}
-#coresetupx86 () {
-#}
-
chrootstartx86 () {
mount -t squashfs "$chrootx86" "$rodir"
if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then