summaryrefslogtreecommitdiff
path: root/distro/mint/64/mate
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-08-10 17:10:22 +0800
committerIru Cai <mytbk920423@gmail.com>2016-08-10 17:36:57 +0800
commit634ae0c4b0d165609296b5e81d56d4f186480ff9 (patch)
treeccd3ded33aaeb17663a1be4cc6075e13f23439ef /distro/mint/64/mate
parent1361443fc0ce1b6c18fcdb68c11721689415d17e (diff)
downloadliveusb-builder-634ae0c4b0d165609296b5e81d56d4f186480ff9.tar.xz
distro/mint: add Xfce and Cinnamon desktop
- Move mint/mate/64 as mint/64/mate because 64-bit and 32-bit is a more significant difference than desktop - The kernel of Xfce and MATE is identical and the initrd.lz is almost identical, it's OK to use the same vmlinuz and initrd.lz for both ISOs - remove the creation of $DATADIR/mint/64
Diffstat (limited to 'distro/mint/64/mate')
-rw-r--r--distro/mint/64/mate/entry5
-rw-r--r--distro/mint/64/mate/install.sh8
-rw-r--r--distro/mint/64/mate/isoinfo7
3 files changed, 20 insertions, 0 deletions
diff --git a/distro/mint/64/mate/entry b/distro/mint/64/mate/entry
new file mode 100644
index 0000000..b190746
--- /dev/null
+++ b/distro/mint/64/mate/entry
@@ -0,0 +1,5 @@
+TITLE='Linux Mint 18 x86_64 with MATE Desktop'
+KERNEL=/liveusb-kernel/mint/64/vmlinuz
+INITRD=/liveusb-kernel/mint/64/initrd.lz
+OPTION="file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename=/liveusb-data/mint/$ISOFILE quiet splash --"
+X64=y
diff --git a/distro/mint/64/mate/install.sh b/distro/mint/64/mate/install.sh
new file mode 100644
index 0000000..1e37ee2
--- /dev/null
+++ b/distro/mint/64/mate/install.sh
@@ -0,0 +1,8 @@
+install_live() {
+ install -d "$KERNELDIR/mint/64"
+ cp "isofiles/$ISOFILE" "$DATADIR/mint/"
+ mount_iso
+ cp "$ISOMNT/casper/vmlinuz" "$ISOMNT/casper/initrd.lz" "$KERNELDIR/mint/64/"
+ umount_iso
+}
+
diff --git a/distro/mint/64/mate/isoinfo b/distro/mint/64/mate/isoinfo
new file mode 100644
index 0000000..11dbed4
--- /dev/null
+++ b/distro/mint/64/mate/isoinfo
@@ -0,0 +1,7 @@
+ISOURL=stable/18/linuxmint-18-mate-64bit.iso
+SHA256=c634f48b248489eef782067484a04978f046e9ccd507d9df35c798a1db9bef22
+
+mirrorlist=(
+https://mirrors.tuna.tsinghua.edu.cn/linuxmint-cd
+http://mirrors.ustc.edu.cn/linuxmint-cd
+)