diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-09-05 20:22:48 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-09-05 23:31:12 +0800 |
commit | abad6a9497c16bb1e5caa81d6d8edd5f950d7428 (patch) | |
tree | 0cbe76f794609ff591ae1fdba06ea6ffa4bce06a /distro/pureos/install.sh | |
parent | 1478a0195a53233c8343777703e8a94d1fdb23d1 (diff) | |
download | liveusb-builder-abad6a9497c16bb1e5caa81d6d8edd5f950d7428.tar.xz |
distro: add PureOS2018.09
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 +} |