summaryrefslogtreecommitdiff
path: root/distro/pureos
diff options
context:
space:
mode:
Diffstat (limited to 'distro/pureos')
-rw-r--r--distro/pureos/TODO1
-rw-r--r--distro/pureos/distroinfo2
-rw-r--r--distro/pureos/entry5
-rw-r--r--distro/pureos/install.sh8
-rw-r--r--distro/pureos/isoinfo7
5 files changed, 23 insertions, 0 deletions
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
+)