瀏覽代碼

Merge pull request #83 from antonym/tinycorelinux

Update Tiny Core Linux to 7.x
Antony Messerli 9 年之前
父節點
當前提交
b27826e952
共有 4 個文件被更改,包括 11 次插入10 次删除
  1. 1 1
      README.md
  2. 1 1
      docs/index.md
  3. 1 1
      src/linux.ipxe
  4. 8 7
      src/tinycore.ipxe

+ 1 - 1
README.md

@@ -50,7 +50,7 @@ Full documentation is at ReadTheDocs:
 * [OpenSUSE](http://opensuse.org)
 * [RancherOS](http://rancher.com/rancher-os/)
 * [Scientific](http://scientificlinux.org)
-* [TinyCoreLinux](http://distro.ibiblio.org/tinycorelinux/)
+* [Tiny Core Linux](http://tinycorelinux.net)
 * [Ubuntu](http://www.ubuntu.com/)
 
 #### Hypervisors

+ 1 - 1
docs/index.md

@@ -54,7 +54,7 @@ You'll need to make sure to have [DOWNLOAD_PROTO_HTTPS](https://github.com/ipxe/
 * [OpenSUSE](http://opensuse.org)
 * [RancherOS](http://rancher.com/rancher-os/)
 * [Scientific](http://scientificlinux.org)
-* [TinyCoreLinux](http://distro.ibiblio.org/tinycorelinux/)
+* [Tiny Core Linux](http://tinycorelinux.net)
 * [Ubuntu](http://www.ubuntu.com/)
 
 #### Hypervisors

+ 1 - 1
src/linux.ipxe

@@ -22,7 +22,7 @@ item coreos ${space} CoreOS
 item rancheros ${space} RancherOS
 item scientific ${space} Scientific
 item slackware ${space} Slackware
-item tinycore ${space} TinyCoreLinux
+item tinycore ${space} Tiny Core Linux
 # Options
 item --gap Options:
 iseq ${arch} x86_64 && set bits 64 || set bits 32

+ 8 - 7
src/tinycore.ipxe

@@ -1,21 +1,22 @@
 #!ipxe
 
-# TinyCoreLinux
+# Tiny Core Linux
 # http://tinycorelinux.net/downloads.html
-# For now there is only one menu entry
 
-set tmirror tinycorelinux.net
+set tinycore_mirror tinycorelinux.net
 
 :tinycore_menu
-set dir 6.x/x86/release
-menu TinyCoreLinux
-item --key c Core Core (8 MB)
+set dir 7.x/x86/release
+menu Tiny Core Linux 7.x
+item Core ${space} Core [ISO]
+item TinyCore ${space} TinyCore [ISO]
+item CorePlus ${space} CorePlus [ISO]
 choose version || goto tinycore_exit
 
 echo ${cls}
 
 kernel ${memdisk} iso raw ${params}
-initrd http://${tmirror}/${dir}/${version}-current.iso
+initrd http://${tinycore_mirror}/${dir}/${version}-current.iso
 boot
 
 :tinycore_exit