diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-10-04 14:05:04 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-10-04 14:05:04 +0800 |
commit | 28b49f22e49b52098b6cc2d1888e7ee408441d58 (patch) | |
tree | e929d7e7fc1f11709455b069b97ff0349c2908e1 /distro/ubuntu/install.sh | |
parent | c3bbf4a47d3e87b5e19c977229976cc03a36a482 (diff) | |
download | liveusb-builder-28b49f22e49b52098b6cc2d1888e7ee408441d58.tar.xz |
ubuntu: update 16.04 and add 18.04
Diffstat (limited to 'distro/ubuntu/install.sh')
-rw-r--r-- | distro/ubuntu/install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/distro/ubuntu/install.sh b/distro/ubuntu/install.sh new file mode 100644 index 0000000..f6edab7 --- /dev/null +++ b/distro/ubuntu/install.sh @@ -0,0 +1,7 @@ +install_live() { + install -d "$KERNELDIR/ubuntu/${_ver}/64" "$DATADIR/ubuntu" + cp "$ISOPATH/$ISOFILE" "$DATADIR/ubuntu/" + mount_iso + cp "$ISOMNT/casper/${VMLINUZ}" "$ISOMNT/casper/${INITRD}" "$KERNELDIR/ubuntu/${_ver}/64/" + umount_iso +} |