summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-10-17 18:41:49 +0800
committerIru Cai <mytbk920423@gmail.com>2018-10-17 18:41:49 +0800
commitb5cebd34e7ed3f4acd85b38d5faa31d8dcdff9c6 (patch)
tree087986bd9e4dfb76fd9b5561f9b5951a68d9701a
parent28b49f22e49b52098b6cc2d1888e7ee408441d58 (diff)
downloadliveusb-builder-b5cebd34e7ed3f4acd85b38d5faa31d8dcdff9c6.tar.xz
distro: add hyperbola
-rw-r--r--distro/hyperbola/distroinfo2
-rw-r--r--distro/hyperbola/entry15
-rw-r--r--distro/hyperbola/entry25
-rw-r--r--distro/hyperbola/install.sh8
-rw-r--r--distro/hyperbola/isoinfo10
5 files changed, 30 insertions, 0 deletions
diff --git a/distro/hyperbola/distroinfo b/distro/hyperbola/distroinfo
new file mode 100644
index 0000000..1168f10
--- /dev/null
+++ b/distro/hyperbola/distroinfo
@@ -0,0 +1,2 @@
+DISTRONAME='Hyperbola'
+KEYWORD='hyperbola'
diff --git a/distro/hyperbola/entry1 b/distro/hyperbola/entry1
new file mode 100644
index 0000000..e961f39
--- /dev/null
+++ b/distro/hyperbola/entry1
@@ -0,0 +1,5 @@
+TITLE='Hyperbola GNU/Linux-libre x86_64'
+KERNEL=/liveusb-kernel/hyperbola/boot/x86_64/vmlinuz
+INITRD=(/liveusb-kernel/hyperbola/boot/x86_64/hyperiso.img)
+OPTION="hyperisodevice=/dev/disk/by-uuid/$UUID hyperisobasedir=liveusb-data/hyperbola"
+X64=y
diff --git a/distro/hyperbola/entry2 b/distro/hyperbola/entry2
new file mode 100644
index 0000000..c32288e
--- /dev/null
+++ b/distro/hyperbola/entry2
@@ -0,0 +1,5 @@
+TITLE='Hyperbola GNU/Linux-libre i686'
+KERNEL=/liveusb-kernel/hyperbola/boot/i686/vmlinuz
+INITRD=(/liveusb-kernel/hyperbola/boot/i686/hyperiso.img)
+OPTION="hyperisodevice=/dev/disk/by-uuid/$UUID hyperisobasedir=liveusb-data/hyperbola"
+X64=n
diff --git a/distro/hyperbola/install.sh b/distro/hyperbola/install.sh
new file mode 100644
index 0000000..06f9281
--- /dev/null
+++ b/distro/hyperbola/install.sh
@@ -0,0 +1,8 @@
+install_live() {
+ mount_iso
+ install -d "$DATADIR/hyperbola"
+ cp -r "$ISOMNT/hyperbola/"{aitab,i686,x86_64} "$DATADIR/hyperbola/"
+ install -d "$KERNELDIR/hyperbola"
+ cp -r "$ISOMNT/hyperbola/boot" "$KERNELDIR/hyperbola"
+ umount_iso
+}
diff --git a/distro/hyperbola/isoinfo b/distro/hyperbola/isoinfo
new file mode 100644
index 0000000..e7ea2ce
--- /dev/null
+++ b/distro/hyperbola/isoinfo
@@ -0,0 +1,10 @@
+_isover=milky-way-v0.2.4
+ISONAME='Hyperbola Milky Way v0.2.4'
+ISOURL=other/live_images/gnu-plus-linux-libre/hyperbola-milky-way-v0.2.4/hyperbola-${_isover}-dual.iso
+SHA512=5eac2ec6842614c9874cc81c40cf5cb6232a8e9afcbb9a65b7bbb09d8a8d0e141567681fe69742c3584ee02cfd4ababeb840fda065746472d34351e6a26fc525
+
+mirrorlist=(
+https://mirror.cedia.org.ec/hyperbola/sources
+https://repo.hyperbola.info:50000
+https://ftp.nluug.nl/os/Linux/distr/hyperbola/sources
+)