summaryrefslogtreecommitdiff
path: root/iso32
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-11-29 17:15:12 +0000
committerV3n3RiX <venerix@rogentos.ro>2015-11-29 17:15:12 +0000
commit1d513396c90acc6b5a3a5ca16501769a306fc97e (patch)
treeea3c39824466942979d7ab013bc0d17c775b9035 /iso32
parent18c8a8ac310a52184b596ff44403317b10d5a62e (diff)
first, we want to sync the squashed core to a rw location, in order to add targets and build the iso
Diffstat (limited to 'iso32')
-rwxr-xr-xiso3224
1 files changed, 24 insertions, 0 deletions
diff --git a/iso32 b/iso32
index 8b4d80d..21213c8 100755
--- a/iso32
+++ b/iso32
@@ -5,32 +5,56 @@
kernelconfig
checkroot
+# Check core integrity before doing anything
+chrootchecksumx86
+
export local isoarch="x86"
export local isoname=""$releasename"-"$releaseversion"-"$isoarch""
+export local tmpiso="/tmp/"$isoname""
dailyisox86 () {
export local isostatus="DAILY"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx86" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
alphaisox86 () {
export local isostatus="ALPHA"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx86" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
betaisox86 () {
export local isostatus="BETA"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx86" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
rcisox86 () {
export local isostatus="RC"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx86" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
stableisox86 () {
export local isostatus="STABLE"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx86" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
case $2 in