summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-07-05 21:15:46 +0800
committerIru Cai <mytbk920423@gmail.com>2016-08-02 12:31:58 +0800
commit09aa7ff772730824e40c7162c2d2d58bcbec4070 (patch)
treeac047e54f66dea1dc8dff8c9911fa0c4e2b6f7c6
parent3a44dcd3a23ed8ccc16f6544a2c33927f63a9f57 (diff)
downloadliveusb-builder-09aa7ff772730824e40c7162c2d2d58bcbec4070.tar.xz
update arch install_live()
-rw-r--r--distro/arch/install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/distro/arch/install.sh b/distro/arch/install.sh
index bb15685..f31f89c 100644
--- a/distro/arch/install.sh
+++ b/distro/arch/install.sh
@@ -3,7 +3,11 @@ SHA1=6db5a9e46267ba7ec4d9ae79d141e5a6d9d3cf88
install_live() {
mount_iso
- cp -r "$ROOTPATH"
+ install -d "$DATADIR/arch"
+ cp -r "$ISOMNT/arch/"{i686,x86_64} "$DATADIR/arch/"
+ install -d "$KERNELDIR/arch"
+ cp -r "$ISOMNT/arch/boot/"{i686,x86_64} "$KERNELDIR/arch/"
+ cp "$ISOMNT/arch/boot/intel_ucode.img" "$KERNELDIR/arch/"
umount_iso
}