summaryrefslogtreecommitdiff
path: root/distro/systemrescuecd/install.sh
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-08-10 20:43:57 +0800
committerIru Cai <mytbk920423@gmail.com>2016-08-10 20:43:57 +0800
commit9ec5da20a229bc875ecccb7f5e5841a2e8861991 (patch)
tree22745c8821f1974ddcd1f5047c734813a7ad3906 /distro/systemrescuecd/install.sh
parenta8dceef3fe552a90578e033eceb21390f785cb83 (diff)
downloadliveusb-builder-9ec5da20a229bc875ecccb7f5e5841a2e8861991.tar.xz
distro: add SystemRescueCd
Diffstat (limited to 'distro/systemrescuecd/install.sh')
-rw-r--r--distro/systemrescuecd/install.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/distro/systemrescuecd/install.sh b/distro/systemrescuecd/install.sh
new file mode 100644
index 0000000..0676d1b
--- /dev/null
+++ b/distro/systemrescuecd/install.sh
@@ -0,0 +1,7 @@
+install_live() {
+ mount_iso
+ install -d "$DATADIR/sysrcd" "$KERNELDIR/sysrcd"
+ cp "$ISOMNT/"{sysrcd.dat,sysrcd.md5} "$DATADIR/sysrcd/"
+ cp "$ISOMNT/isolinux/"{rescue32,rescue64,initram.igz} "$KERNELDIR/sysrcd/"
+ umount_iso
+}