浏览代码

Update TinyCore to 7.x series

Antony Messerli 9 年之前
父节点
当前提交
0c2a1d3113
共有 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

@@ -49,7 +49,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

@@ -53,7 +53,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

@@ -21,7 +21,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