diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 17:15:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-11-29 17:15:12 +0000 |
commit | 1d513396c90acc6b5a3a5ca16501769a306fc97e (patch) | |
tree | ea3c39824466942979d7ab013bc0d17c775b9035 | |
parent | 18c8a8ac310a52184b596ff44403317b10d5a62e (diff) |
first, we want to sync the squashed core to a rw location, in order to add targets and build the iso
-rwxr-xr-x | iso32 | 24 | ||||
-rwxr-xr-x | iso64 | 24 |
2 files changed, 48 insertions, 0 deletions
@@ -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 @@ -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 |