summaryrefslogtreecommitdiff
path: root/distro/ubuntu/16.04
diff options
context:
space:
mode:
Diffstat (limited to 'distro/ubuntu/16.04')
-rw-r--r--distro/ubuntu/16.04/entry5
-rw-r--r--distro/ubuntu/16.04/install.sh8
-rw-r--r--distro/ubuntu/16.04/isoinfo10
3 files changed, 23 insertions, 0 deletions
diff --git a/distro/ubuntu/16.04/entry b/distro/ubuntu/16.04/entry
new file mode 100644
index 0000000..f03f284
--- /dev/null
+++ b/distro/ubuntu/16.04/entry
@@ -0,0 +1,5 @@
+TITLE='Ubuntu 16.04.3 x86_64 Desktop'
+KERNEL=/liveusb-kernel/ubuntu/16.04/64/vmlinuz.efi
+INITRD=/liveusb-kernel/ubuntu/16.04/64/initrd.lz
+OPTION="file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/liveusb-data/ubuntu/$ISOFILE quiet splash ---"
+X64=y
diff --git a/distro/ubuntu/16.04/install.sh b/distro/ubuntu/16.04/install.sh
new file mode 100644
index 0000000..653e2f5
--- /dev/null
+++ b/distro/ubuntu/16.04/install.sh
@@ -0,0 +1,8 @@
+install_live() {
+ install -d "$KERNELDIR/ubuntu/16.04/64" "$DATADIR/ubuntu"
+ cp "isofiles/$ISOFILE" "$DATADIR/ubuntu/"
+ mount_iso
+ cp "$ISOMNT/casper/vmlinuz.efi" "$ISOMNT/casper/initrd.lz" "$KERNELDIR/ubuntu/16.04/64/"
+ umount_iso
+}
+
diff --git a/distro/ubuntu/16.04/isoinfo b/distro/ubuntu/16.04/isoinfo
new file mode 100644
index 0000000..a8d5598
--- /dev/null
+++ b/distro/ubuntu/16.04/isoinfo
@@ -0,0 +1,10 @@
+_isover=16.04.3
+ISONAME="$DISTRONAME ${_isover} amd64"
+ISOURL="${_isover}/ubuntu-${_isover}-desktop-amd64.iso"
+SHA256=1384ac8f2c2a6479ba2a9cbe90a585618834560c477a699a4a7ebe7b5345ddc1
+
+mirrorlist=(
+https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases
+http://releases.ubuntu.com
+http://mirrors.ustc.edu.cn/ubuntu-releases
+)