summaryrefslogtreecommitdiff
path: root/distro/pureos/install.sh
blob: cb5a3e4f05c6ba574ecb5d43a6d0eedce9c3e6e7 (plain)
1
2
3
4
5
6
7
8
install_live() {
	install -d "$KERNELDIR/pureos" "$DATADIR/pureos"
	mount_iso
	cp "$ISOMNT/casper/vmlinuz" "$ISOMNT/casper/initrd.img" \
		"$KERNELDIR/pureos"
	install -m600 "$ISOMNT/casper/filesystem.squashfs" "$DATADIR/pureos"
	umount_iso
}