From 7f93ac9bb6481e3e0ca80d7b4cf4ca2bb2d0d5b7 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 10 Mar 2018 12:09:36 +0800 Subject: config file $HOME/.liveusb-builder, move isofiles to $ISOPATH and set default $ISOPATH location to $HOME/isofiles --- distro/ubuntu/14.04/install.sh | 2 +- distro/ubuntu/16.04/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'distro/ubuntu') diff --git a/distro/ubuntu/14.04/install.sh b/distro/ubuntu/14.04/install.sh index 97addac..24ce8f9 100644 --- a/distro/ubuntu/14.04/install.sh +++ b/distro/ubuntu/14.04/install.sh @@ -1,6 +1,6 @@ install_live() { install -d "$KERNELDIR/ubuntu/14.04/64" "$DATADIR/ubuntu" - cp "isofiles/$ISOFILE" "$DATADIR/ubuntu/" + cp "$ISOPATH/$ISOFILE" "$DATADIR/ubuntu/" mount_iso cp "$ISOMNT/casper/vmlinuz.efi" "$ISOMNT/casper/initrd.lz" "$KERNELDIR/ubuntu/14.04/64/" umount_iso diff --git a/distro/ubuntu/16.04/install.sh b/distro/ubuntu/16.04/install.sh index 653e2f5..d5a0a12 100644 --- a/distro/ubuntu/16.04/install.sh +++ b/distro/ubuntu/16.04/install.sh @@ -1,6 +1,6 @@ install_live() { install -d "$KERNELDIR/ubuntu/16.04/64" "$DATADIR/ubuntu" - cp "isofiles/$ISOFILE" "$DATADIR/ubuntu/" + cp "$ISOPATH/$ISOFILE" "$DATADIR/ubuntu/" mount_iso cp "$ISOMNT/casper/vmlinuz.efi" "$ISOMNT/casper/initrd.lz" "$KERNELDIR/ubuntu/16.04/64/" umount_iso -- cgit v1.2.3