summaryrefslogtreecommitdiff
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
parent18c8a8ac310a52184b596ff44403317b10d5a62e (diff)
first, we want to sync the squashed core to a rw location, in order to add targets and build the iso
-rwxr-xr-xiso3224
-rwxr-xr-xiso6424
2 files changed, 48 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
diff --git a/iso64 b/iso64
index c455615..27b0d40 100755
--- a/iso64
+++ b/iso64
@@ -5,32 +5,56 @@
kernelconfig
checkroot
+# Check core integrity before doing anything
+chrootchecksumx64
+
export local isoarch="amd64"
export local isoname=""$releasename"-"$releaseversion"-"$isoarch""
+export local tmpiso="/tmp/"$isoname""
dailyisox64 () {
export local isostatus="DAILY"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx64" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
alphaisox64 () {
export local isostatus="ALPHA"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx64" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
betaisox64 () {
export local isostatus="BETA"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx64" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
rcisox64 () {
export local isostatus="RC"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx64" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
stableisox64 () {
export local isostatus="STABLE"
+ mkdir -p "$tmpiso"
mkdir -p ""$isoname"-"$isostatus"/livecd"
+ mount -t squashfs "$chrootx64" "$tmpiso"
+ rsync -aHAXr --progress "$tmpiso" ""$isoname"-"$isostatus"/livecd"
+ umount "$tmpiso"
}
case $2 in