From abad6a9497c16bb1e5caa81d6d8edd5f950d7428 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 5 Sep 2018 20:22:48 +0800 Subject: distro: add PureOS --- distro/pureos/install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 distro/pureos/install.sh (limited to 'distro/pureos/install.sh') 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 +} -- cgit v1.2.3