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