summaryrefslogtreecommitdiff
path: root/distro/void/install.sh
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/install.sh
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/install.sh')
-rw-r--r--distro/void/install.sh7
1 files changed, 7 insertions, 0 deletions
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
+}