summaryrefslogtreecommitdiff
path: root/distro/ubuntu/14.04
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-01-15 15:47:31 +0800
committerIru Cai <mytbk920423@gmail.com>2018-01-15 15:47:31 +0800
commitfb7dea02cd8d58d8942e30c6dbc51594ced56eb9 (patch)
treee9497d72271d205b9d097d150735518a6ce942ee /distro/ubuntu/14.04
parentd57a360f401f710e9f33595176994c742d23548f (diff)
downloadliveusb-builder-fb7dea02cd8d58d8942e30c6dbc51594ced56eb9.tar.xz
add ubuntu 14.04.5 LTS
Diffstat (limited to 'distro/ubuntu/14.04')
-rw-r--r--distro/ubuntu/14.04/entry5
-rw-r--r--distro/ubuntu/14.04/install.sh8
-rw-r--r--distro/ubuntu/14.04/isoinfo10
3 files changed, 23 insertions, 0 deletions
diff --git a/distro/ubuntu/14.04/entry b/distro/ubuntu/14.04/entry
new file mode 100644
index 0000000..55df603
--- /dev/null
+++ b/distro/ubuntu/14.04/entry
@@ -0,0 +1,5 @@
+TITLE='Ubuntu 14.04.5 x86_64 Desktop'
+KERNEL=/liveusb-kernel/ubuntu/14.04/64/vmlinuz.efi
+INITRD=/liveusb-kernel/ubuntu/14.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/14.04/install.sh b/distro/ubuntu/14.04/install.sh
new file mode 100644
index 0000000..97addac
--- /dev/null
+++ b/distro/ubuntu/14.04/install.sh
@@ -0,0 +1,8 @@
+install_live() {
+ install -d "$KERNELDIR/ubuntu/14.04/64" "$DATADIR/ubuntu"
+ cp "isofiles/$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/14.04/isoinfo b/distro/ubuntu/14.04/isoinfo
new file mode 100644
index 0000000..a9f0185
--- /dev/null
+++ b/distro/ubuntu/14.04/isoinfo
@@ -0,0 +1,10 @@
+_isover=14.04.5
+ISONAME="$DISTRONAME ${_isover} amd64"
+ISOURL="${_isover}/ubuntu-${_isover}-desktop-amd64.iso"
+SHA256=f5ce20686a2f3201f04a309d04171ee15757f00954b33b87f3f1d36b3b0f5356
+
+mirrorlist=(
+https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases
+http://releases.ubuntu.com
+http://mirrors.ustc.edu.cn/ubuntu-releases
+)