summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2017-08-02 15:36:56 +0800
committerIru Cai <mytbk920423@gmail.com>2017-08-02 15:36:56 +0800
commit6682f37a47f83199ca67dd75e3f5f577da056ddf (patch)
tree3e64a309b2bb8518d6960e3faacea888f2a32b92
parentbff75ffe121db05e9e48a81000640b7a1baecb50 (diff)
downloadliveusb-builder-6682f37a47f83199ca67dd75e3f5f577da056ddf.tar.xz
distro: add gloriousarch
-rw-r--r--distro/gloriousarch/distroinfo2
-rw-r--r--distro/gloriousarch/xfce/entry17
-rw-r--r--distro/gloriousarch/xfce/install.sh11
-rw-r--r--distro/gloriousarch/xfce/isoinfo9
4 files changed, 29 insertions, 0 deletions
diff --git a/distro/gloriousarch/distroinfo b/distro/gloriousarch/distroinfo
new file mode 100644
index 0000000..8fd601c
--- /dev/null
+++ b/distro/gloriousarch/distroinfo
@@ -0,0 +1,2 @@
+DISTRONAME='Glorious Arch'
+KEYWORD='gloriousarch'
diff --git a/distro/gloriousarch/xfce/entry1 b/distro/gloriousarch/xfce/entry1
new file mode 100644
index 0000000..8275c5a
--- /dev/null
+++ b/distro/gloriousarch/xfce/entry1
@@ -0,0 +1,7 @@
+TITLE='Glorious Arch x86_64'
+_name=garch/xfce
+KERNEL="/liveusb-kernel/$_name/x86_64/vmlinuz"
+INITRD=("/liveusb-kernel/$_name/intel_ucode.img"
+ "/liveusb-kernel/$_name/x86_64/archiso.img")
+OPTION="archisodevice=/dev/disk/by-uuid/$UUID archisobasedir=liveusb-data/$_name"
+X64=y
diff --git a/distro/gloriousarch/xfce/install.sh b/distro/gloriousarch/xfce/install.sh
new file mode 100644
index 0000000..c443194
--- /dev/null
+++ b/distro/gloriousarch/xfce/install.sh
@@ -0,0 +1,11 @@
+_name=garch/xfce
+install_live() {
+ mount_iso
+ install -d "$DATADIR/$_name"
+ install -d "$KERNELDIR/$_name"
+ cp -r "$ISOMNT/arch/x86_64" "$DATADIR/$_name/"
+ cp -r "$ISOMNT/arch/boot/x86_64" "$KERNELDIR/$_name/"
+ cp "$ISOMNT/arch/boot/intel_ucode.img" "$KERNELDIR/$_name/"
+ umount_iso
+}
+
diff --git a/distro/gloriousarch/xfce/isoinfo b/distro/gloriousarch/xfce/isoinfo
new file mode 100644
index 0000000..62b7d47
--- /dev/null
+++ b/distro/gloriousarch/xfce/isoinfo
@@ -0,0 +1,9 @@
+_isodate=20170802
+_desktop=xfce
+ISONAME="$DISTRONAME $_desktop $_isodate"
+ISOURL=gloriousarch-$_desktop-$_isodate.iso
+SHA256=3b271bc6ad58ca70839cf5f6c1527648728b2d5915605557b5508184e2f3d5ad
+
+mirrorlist=(
+https://sourceforge.net/projects/garchiso/files
+)