From fb7dea02cd8d58d8942e30c6dbc51594ced56eb9 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 15 Jan 2018 15:47:31 +0800 Subject: add ubuntu 14.04.5 LTS --- distro/ubuntu/14.04/entry | 5 +++++ distro/ubuntu/14.04/install.sh | 8 ++++++++ distro/ubuntu/14.04/isoinfo | 10 ++++++++++ 3 files changed, 23 insertions(+) create mode 100644 distro/ubuntu/14.04/entry create mode 100644 distro/ubuntu/14.04/install.sh create mode 100644 distro/ubuntu/14.04/isoinfo (limited to 'distro/ubuntu/14.04') 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 +) -- cgit v1.2.3