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/TODO | 1 + distro/pureos/distroinfo | 2 ++ distro/pureos/entry | 5 +++++ distro/pureos/install.sh | 8 ++++++++ distro/pureos/isoinfo | 7 +++++++ 5 files changed, 23 insertions(+) create mode 100644 distro/pureos/TODO create mode 100644 distro/pureos/distroinfo create mode 100644 distro/pureos/entry create mode 100644 distro/pureos/install.sh create mode 100644 distro/pureos/isoinfo (limited to 'distro') diff --git a/distro/pureos/TODO b/distro/pureos/TODO new file mode 100644 index 0000000..008893d --- /dev/null +++ b/distro/pureos/TODO @@ -0,0 +1 @@ +The PureOS installer (calamares) requires filesystem.squashfs located at /casper in your data root partition. You need to work around this if you want to install PureOS via this Live USB. diff --git a/distro/pureos/distroinfo b/distro/pureos/distroinfo new file mode 100644 index 0000000..f65cfdc --- /dev/null +++ b/distro/pureos/distroinfo @@ -0,0 +1,2 @@ +DISTRONAME='PureOS' +KEYWORD='pureos' diff --git a/distro/pureos/entry b/distro/pureos/entry new file mode 100644 index 0000000..1ebc1e5 --- /dev/null +++ b/distro/pureos/entry @@ -0,0 +1,5 @@ +TITLE='PureOS' +KERNEL=/liveusb-kernel/pureos/vmlinuz +INITRD=/liveusb-kernel/pureos/initrd.img +OPTION="boot=casper live-media=/dev/disk/by-uuid/$UUID live-media-path=liveusb-data/pureos quiet splash ---" +X64=y 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 +} diff --git a/distro/pureos/isoinfo b/distro/pureos/isoinfo new file mode 100644 index 0000000..bccdfd7 --- /dev/null +++ b/distro/pureos/isoinfo @@ -0,0 +1,7 @@ +ISONAME="PureOS" +ISOURL=live/gnome/2018-08-26/pureos-8.0-gnome-live_20180826-amd64.hybrid.iso +SHA256=53e9f3cb8b7c50a125eace8afabad2e2790ca62d2070811037a3286ed072a7e5 + +mirrorlist=( +https://downloads.puri.sm +) -- cgit v1.2.3