diff options
Diffstat (limited to 'distro/pureos/install.sh')
-rw-r--r-- | distro/pureos/install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/distro/pureos/install.sh b/distro/pureos/install.sh new file mode 100644 index 0000000..cb5a3e4 --- /dev/null +++ b/distro/pureos/install.sh @@ -0,0 +1,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 +} |