summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-10-16 23:59:49 +0800
committerIru Cai <mytbk920423@gmail.com>2016-10-17 21:47:20 +0800
commit5f0bdbbd0215906a30c811f82959f7e517335d20 (patch)
tree11027546eef31c4b6dd3fcdc748a74aa79c494fa /distro
parent80210c3f303cb2f9523f49dcf370f7de76c3cbfb (diff)
downloadliveusb-builder-5f0bdbbd0215906a30c811f82959f7e517335d20.tar.xz
distro: add Manjaro
Diffstat (limited to 'distro')
-rw-r--r--distro/manjaro/32/kde/entry3
-rw-r--r--distro/manjaro/32/kde/install.sh2
-rw-r--r--distro/manjaro/32/kde/isoinfo4
-rw-r--r--distro/manjaro/32/net/entry3
-rw-r--r--distro/manjaro/32/net/install.sh2
-rw-r--r--distro/manjaro/32/net/isoinfo5
-rw-r--r--distro/manjaro/32/xfce/entry3
-rw-r--r--distro/manjaro/32/xfce/install.sh2
-rw-r--r--distro/manjaro/32/xfce/isoinfo5
-rw-r--r--distro/manjaro/64/kde/entry3
-rw-r--r--distro/manjaro/64/kde/install.sh2
-rw-r--r--distro/manjaro/64/kde/isoinfo4
-rw-r--r--distro/manjaro/64/net/entry3
-rw-r--r--distro/manjaro/64/net/install.sh2
-rw-r--r--distro/manjaro/64/net/isoinfo5
-rw-r--r--distro/manjaro/64/xfce/entry3
-rw-r--r--distro/manjaro/64/xfce/install.sh2
-rw-r--r--distro/manjaro/64/xfce/isoinfo5
-rw-r--r--distro/manjaro/distroinfo2
-rw-r--r--distro/manjaro/entry7
-rw-r--r--distro/manjaro/install.sh9
-rw-r--r--distro/manjaro/isoinfo.common5
22 files changed, 81 insertions, 0 deletions
diff --git a/distro/manjaro/32/kde/entry b/distro/manjaro/32/kde/entry
new file mode 100644
index 0000000..bb824ce
--- /dev/null
+++ b/distro/manjaro/32/kde/entry
@@ -0,0 +1,3 @@
+_arch=i686
+_flavour=KDE
+source distro/manjaro/entry
diff --git a/distro/manjaro/32/kde/install.sh b/distro/manjaro/32/kde/install.sh
new file mode 100644
index 0000000..f3678ea
--- /dev/null
+++ b/distro/manjaro/32/kde/install.sh
@@ -0,0 +1,2 @@
+ARCH=i686
+source distro/manjaro/install.sh
diff --git a/distro/manjaro/32/kde/isoinfo b/distro/manjaro/32/kde/isoinfo
new file mode 100644
index 0000000..fa00221
--- /dev/null
+++ b/distro/manjaro/32/kde/isoinfo
@@ -0,0 +1,4 @@
+source distro/manjaro/isoinfo.common
+ISONAME="$DISTRONAME i686 $_isodate KDE"
+ISOURL="release/${_isodate}/kde/manjaro-kde-${_isodate}-i686.iso"
+SHA1=b4fbb8c4d4855e570f09770b596bba4c74620076
diff --git a/distro/manjaro/32/net/entry b/distro/manjaro/32/net/entry
new file mode 100644
index 0000000..d016b63
--- /dev/null
+++ b/distro/manjaro/32/net/entry
@@ -0,0 +1,3 @@
+_arch=i686
+_flavour=Net
+source distro/manjaro/entry
diff --git a/distro/manjaro/32/net/install.sh b/distro/manjaro/32/net/install.sh
new file mode 100644
index 0000000..f3678ea
--- /dev/null
+++ b/distro/manjaro/32/net/install.sh
@@ -0,0 +1,2 @@
+ARCH=i686
+source distro/manjaro/install.sh
diff --git a/distro/manjaro/32/net/isoinfo b/distro/manjaro/32/net/isoinfo
new file mode 100644
index 0000000..adf2bae
--- /dev/null
+++ b/distro/manjaro/32/net/isoinfo
@@ -0,0 +1,5 @@
+source distro/manjaro/isoinfo.common
+ISONAME="$DISTRONAME i686 $_isodate Net install"
+ISOURL="release/${_isodate}/netinstall/manjaro-net-${_isodate}-i686.iso"
+SHA1=9cb6886757771ae4eba83abfab8ac5e6a499da2b
+
diff --git a/distro/manjaro/32/xfce/entry b/distro/manjaro/32/xfce/entry
new file mode 100644
index 0000000..e9a38c0
--- /dev/null
+++ b/distro/manjaro/32/xfce/entry
@@ -0,0 +1,3 @@
+_arch=i686
+_flavour=Xfce
+source distro/manjaro/entry
diff --git a/distro/manjaro/32/xfce/install.sh b/distro/manjaro/32/xfce/install.sh
new file mode 100644
index 0000000..f3678ea
--- /dev/null
+++ b/distro/manjaro/32/xfce/install.sh
@@ -0,0 +1,2 @@
+ARCH=i686
+source distro/manjaro/install.sh
diff --git a/distro/manjaro/32/xfce/isoinfo b/distro/manjaro/32/xfce/isoinfo
new file mode 100644
index 0000000..395c12d
--- /dev/null
+++ b/distro/manjaro/32/xfce/isoinfo
@@ -0,0 +1,5 @@
+source distro/manjaro/isoinfo.common
+ISONAME="$DISTRONAME i686 $_isodate Xfce"
+ISOURL="release/${_isodate}/xfce/manjaro-xfce-${_isodate}-i686.iso"
+SHA1=b007f8feaf3df6e2cddf6e18479e725045650515
+
diff --git a/distro/manjaro/64/kde/entry b/distro/manjaro/64/kde/entry
new file mode 100644
index 0000000..7cc5a9f
--- /dev/null
+++ b/distro/manjaro/64/kde/entry
@@ -0,0 +1,3 @@
+_arch=x86_64
+_flavour=KDE
+source distro/manjaro/entry
diff --git a/distro/manjaro/64/kde/install.sh b/distro/manjaro/64/kde/install.sh
new file mode 100644
index 0000000..b042c51
--- /dev/null
+++ b/distro/manjaro/64/kde/install.sh
@@ -0,0 +1,2 @@
+ARCH=x86_64
+source distro/manjaro/install.sh
diff --git a/distro/manjaro/64/kde/isoinfo b/distro/manjaro/64/kde/isoinfo
new file mode 100644
index 0000000..8681854
--- /dev/null
+++ b/distro/manjaro/64/kde/isoinfo
@@ -0,0 +1,4 @@
+source distro/manjaro/isoinfo.common
+ISONAME="$DISTRONAME x86_64 $_isodate KDE"
+ISOURL="release/${_isodate}/kde/manjaro-kde-${_isodate}-x86_64.iso"
+SHA256=8ef73ea7f47194d6d09d3dc7f6c9ae80e8a5251fab332eb123ae4b7fabcc16cc
diff --git a/distro/manjaro/64/net/entry b/distro/manjaro/64/net/entry
new file mode 100644
index 0000000..d10a733
--- /dev/null
+++ b/distro/manjaro/64/net/entry
@@ -0,0 +1,3 @@
+_arch=x86_64
+_flavour=Net
+source distro/manjaro/entry
diff --git a/distro/manjaro/64/net/install.sh b/distro/manjaro/64/net/install.sh
new file mode 100644
index 0000000..b042c51
--- /dev/null
+++ b/distro/manjaro/64/net/install.sh
@@ -0,0 +1,2 @@
+ARCH=x86_64
+source distro/manjaro/install.sh
diff --git a/distro/manjaro/64/net/isoinfo b/distro/manjaro/64/net/isoinfo
new file mode 100644
index 0000000..f9abaa9
--- /dev/null
+++ b/distro/manjaro/64/net/isoinfo
@@ -0,0 +1,5 @@
+source distro/manjaro/isoinfo.common
+ISONAME="$DISTRONAME x86_64 $_isodate Net install"
+ISOURL="release/${_isodate}/netinstall/manjaro-net-${_isodate}-x86_64.iso"
+SHA1=42e0c1391c63070a76f4840c21368a23fd65d334
+
diff --git a/distro/manjaro/64/xfce/entry b/distro/manjaro/64/xfce/entry
new file mode 100644
index 0000000..5b500a5
--- /dev/null
+++ b/distro/manjaro/64/xfce/entry
@@ -0,0 +1,3 @@
+_arch=x86_64
+_flavour=Xfce
+source distro/manjaro/entry
diff --git a/distro/manjaro/64/xfce/install.sh b/distro/manjaro/64/xfce/install.sh
new file mode 100644
index 0000000..b042c51
--- /dev/null
+++ b/distro/manjaro/64/xfce/install.sh
@@ -0,0 +1,2 @@
+ARCH=x86_64
+source distro/manjaro/install.sh
diff --git a/distro/manjaro/64/xfce/isoinfo b/distro/manjaro/64/xfce/isoinfo
new file mode 100644
index 0000000..2ff5ace
--- /dev/null
+++ b/distro/manjaro/64/xfce/isoinfo
@@ -0,0 +1,5 @@
+source distro/manjaro/isoinfo.common
+ISONAME="$DISTRONAME x86_64 $_isodate Xfce"
+ISOURL="release/${_isodate}/xfce/manjaro-xfce-${_isodate}-x86_64.iso"
+SHA256=eeb3c56f85d75b1d81bb5c61819d3066c2c71ce8cdea0e0108a7889affb76d84
+
diff --git a/distro/manjaro/distroinfo b/distro/manjaro/distroinfo
new file mode 100644
index 0000000..c02e3af
--- /dev/null
+++ b/distro/manjaro/distroinfo
@@ -0,0 +1,2 @@
+DISTRONAME='Manjaro Linux'
+KEYWORD='manjaro'
diff --git a/distro/manjaro/entry b/distro/manjaro/entry
new file mode 100644
index 0000000..1c0618e
--- /dev/null
+++ b/distro/manjaro/entry
@@ -0,0 +1,7 @@
+TITLE="Manjaro Linux $_arch $_flavour"
+KERNEL=/liveusb-kernel/manjaro/$_arch/manjaro
+INITRD=(/liveusb-kernel/manjaro/intel_ucode.img
+ /liveusb-kernel/manjaro/$_arch/manjaro.img)
+OPTION="misolabel=MJRO1608 img_dev=/dev/disk/by-uuid/$UUID img_loop=liveusb-data/manjaro/$ISOFILE"
+[ $_arch == i686 ] && X64=n || X64=y
+
diff --git a/distro/manjaro/install.sh b/distro/manjaro/install.sh
new file mode 100644
index 0000000..4641f4c
--- /dev/null
+++ b/distro/manjaro/install.sh
@@ -0,0 +1,9 @@
+install_live() {
+ install -d "$DATADIR/manjaro/" "$KERNELDIR/manjaro"
+ mount_iso
+ cp -r "$ISOMNT/manjaro/boot/$ARCH" "$ISOMNT/manjaro/boot/intel_ucode.img" \
+ "$KERNELDIR/manjaro"
+ umount_iso
+ cp "isofiles/$ISOFILE" "$DATADIR/manjaro/"
+}
+
diff --git a/distro/manjaro/isoinfo.common b/distro/manjaro/isoinfo.common
new file mode 100644
index 0000000..37f648b
--- /dev/null
+++ b/distro/manjaro/isoinfo.common
@@ -0,0 +1,5 @@
+_isodate=16.08
+
+mirrorlist=(
+https://mirrors.tuna.tsinghua.edu.cn/manjaro-cd
+)