summaryrefslogtreecommitdiff
path: root/distro/void
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-08-21 23:33:18 +0800
committerIru Cai <mytbk920423@gmail.com>2016-08-21 23:33:18 +0800
commit1d48647f7b04a056322f65c93e8a3630d783ecb4 (patch)
tree1f73efe910862f927c8145f75dd3e294eeb5071a /distro/void
parent8fe8ba8a3df05275f8a3827486ea0b0b8081d41f (diff)
downloadliveusb-builder-1d48647f7b04a056322f65c93e8a3630d783ecb4.tar.xz
distro: initial support for Void Linux
based on Fedora which is also using dracut as initramfs builder
Diffstat (limited to 'distro/void')
-rw-r--r--distro/void/distroinfo2
-rw-r--r--distro/void/entry5
-rw-r--r--distro/void/install.sh7
-rw-r--r--distro/void/isoinfo8
4 files changed, 22 insertions, 0 deletions
diff --git a/distro/void/distroinfo b/distro/void/distroinfo
new file mode 100644
index 0000000..b50ed87
--- /dev/null
+++ b/distro/void/distroinfo
@@ -0,0 +1,2 @@
+DISTRONAME='Void Linux'
+KEYWORD='void'
diff --git a/distro/void/entry b/distro/void/entry
new file mode 100644
index 0000000..dcd9187
--- /dev/null
+++ b/distro/void/entry
@@ -0,0 +1,5 @@
+TITLE='Void Linux x86_64'
+KERNEL=/liveusb-kernel/void/vmlinuz
+INITRD=/liveusb-kernel/void/initrd
+OPTION="root=live:UUID=$UUID ro rd.live.dir=liveusb-data/void"
+X64=y
diff --git a/distro/void/install.sh b/distro/void/install.sh
new file mode 100644
index 0000000..5b22e7f
--- /dev/null
+++ b/distro/void/install.sh
@@ -0,0 +1,7 @@
+install_live() {
+ mount_iso
+ install -d "$KERNELDIR/void" "$DATADIR/void"
+ cp "$ISOMNT/LiveOS"/* "$DATADIR/void/"
+ cp "$ISOMNT/boot/vmlinuz" "$ISOMNT/boot/initrd" "$KERNELDIR/void"
+ umount_iso
+}
diff --git a/distro/void/isoinfo b/distro/void/isoinfo
new file mode 100644
index 0000000..215d2bc
--- /dev/null
+++ b/distro/void/isoinfo
@@ -0,0 +1,8 @@
+_isodate=20160420
+ISONAME="$DISTRONAME"
+ISOURL="live/$_isodate/void-live-x86_64-$_isodate.iso"
+SHA256=24cd5831c89c32b13ef114110a2c055900029de509fa5d8a5995beff89f12f7c
+
+mirrorlist=(
+https://repo.voidlinux.eu
+)