Browse Source

Add initial support for Manjaro Linux

Antony Messerli 9 năm trước cách đây
mục cha
commit
3b877efd7a
4 tập tin đã thay đổi với 28 bổ sung0 xóa
  1. 1 0
      README.md
  2. 1 0
      docs/index.md
  3. 1 0
      src/linux.ipxe
  4. 25 0
      src/manjaro.ipxe

+ 1 - 0
README.md

@@ -45,6 +45,7 @@ Full documentation is at ReadTheDocs:
 * [FreeBSD](https://freebsd.org)
 * [Kali Linux](https://www.kali.org)
 * [Mageia](http://www.mageia.org)
+* [Manjaro](https://manjaro.github.io)
 * [OpenBSD](http://openbsd.org)
 * [OpenSUSE](http://opensuse.org)
 * [RancherOS](http://rancher.com/rancher-os/)

+ 1 - 0
docs/index.md

@@ -49,6 +49,7 @@ You'll need to make sure to have [DOWNLOAD_PROTO_HTTPS](https://github.com/ipxe/
 * [FreeBSD](https://freebsd.org)
 * [Kali Linux](https://www.kali.org)
 * [Mageia](http://www.mageia.org)
+* [Manjaro](https://manjaro.github.io)
 * [OpenBSD](http://openbsd.org)
 * [OpenSUSE](http://opensuse.org)
 * [RancherOS](http://rancher.com/rancher-os/)

+ 1 - 0
src/linux.ipxe

@@ -12,6 +12,7 @@ item debian ${space} Debian
 item fedora ${space} Fedora
 item kali ${space} Kali Linux
 item mageia ${space} Mageia
+item manjaro ${space} Manjaro Linux
 item opensuse ${space} openSUSE
 item ubuntu ${space} Ubuntu
 item --gap All Others:

+ 25 - 0
src/manjaro.ipxe

@@ -0,0 +1,25 @@
+#!ipxe
+
+# Manjaro Linux Operating System
+# https://manjaro.github.io/
+
+goto ${menu}
+
+:manjaro
+set os Manjaro Linux
+menu ${os} Installers
+item --gap ${os} 16.02
+item cinnamon ${space} ${os} 16.02 Cinnamon Minimal [ISO]
+choose version || goto manjaro_exit
+goto manjaro_boot
+
+:manjaro_boot
+iseq arch x86_64 && set arch_type x86_64 || set arch_type i686
+kernel ${memdisk} iso raw
+initrd https://sourceforge.net/projects/manjarolinux/files/community/Cinnamon/2016.02/${version}-minimal/${arch_type}/manjaro-${version}-minimal-16.02-${arch_type}.iso/download
+boot
+goto manjaro_exit
+
+:manjaro_exit
+clear menu
+exit 0