From 568c3761c2512fcbe75528d9f1a47c6087dd4860 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Tue, 9 Aug 2016 18:45:48 +0800 Subject: distro: Trisquel Mini and Ubuntu --- distro/ubuntu/entry | 5 +++++ distro/ubuntu/install.sh | 8 ++++++++ distro/ubuntu/isoinfo | 7 +++++++ 3 files changed, 20 insertions(+) create mode 100644 distro/ubuntu/entry create mode 100644 distro/ubuntu/install.sh create mode 100644 distro/ubuntu/isoinfo (limited to 'distro/ubuntu') diff --git a/distro/ubuntu/entry b/distro/ubuntu/entry new file mode 100644 index 0000000..46795cf --- /dev/null +++ b/distro/ubuntu/entry @@ -0,0 +1,5 @@ +TITLE='Ubuntu 16.04.1 x86_64 Desktop' +KERNEL=/liveusb-kernel/ubuntu/64/vmlinuz.efi +INITRD=/liveusb-kernel/ubuntu/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/install.sh b/distro/ubuntu/install.sh new file mode 100644 index 0000000..66966c2 --- /dev/null +++ b/distro/ubuntu/install.sh @@ -0,0 +1,8 @@ +install_live() { + install -d "$KERNELDIR/ubuntu/64" "$DATADIR/ubuntu/64" + cp "isofiles/$ISOFILE" "$DATADIR/ubuntu/" + mount_iso + cp "$ISOMNT/casper/vmlinuz.efi" "$ISOMNT/casper/initrd.lz" "$KERNELDIR/ubuntu/64/" + umount_iso +} + diff --git a/distro/ubuntu/isoinfo b/distro/ubuntu/isoinfo new file mode 100644 index 0000000..d1ce207 --- /dev/null +++ b/distro/ubuntu/isoinfo @@ -0,0 +1,7 @@ +ISOURL=16.04.1/ubuntu-16.04.1-desktop-amd64.iso +MD5=17643c29e3c4609818f26becf76d29a3 + +mirrorlist=( +http://releases.ubuntu.com +http://mirrors.ustc.edu.cn/ubuntu-releases +) -- cgit v1.2.3