summaryrefslogtreecommitdiff
path: root/iso32
blob: 77bf086dba4146a0fdb86b6309631148594e4ef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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""
export local tmpiso="/tmp/"$isoname""

makeisox86 () {
	mkdir -p "$tmpiso"
	mkdir -p ""$isoname"/livecd"
	mount -t squashfs "$chrootx86" "$tmpiso"
	rsync -aHAXr --progress "$tmpiso/" ""$isoname"/livecd/"
	umount "$tmpiso"
}

main () {
	chrootchecksumx86
	makeisox86
}

main