Browse Source

Merge pull request #159 from antonym/grml_live

Adds latest grml and moves it to the live menu
Antony Messerli 8 years ago
parent
commit
77cf0fe1d4
3 changed files with 52 additions and 12 deletions
  1. 1 0
      src/live.ipxe
  2. 51 0
      src/livegrml.ipxe
  3. 0 12
      src/utils.ipxe

+ 1 - 0
src/live.ipxe

@@ -7,6 +7,7 @@ menu Live Boot Distributions - Current Arch [ ${arch} ]
 iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
 item --gap Live Boot Distributions
 item livedebian ${space} Debian Live
+item livegrml ${space} Grml Live
 choose menu || goto live_exit
 echo ${cls}
 goto ${menu} ||

+ 51 - 0
src/livegrml.ipxe

@@ -0,0 +1,51 @@
+#!ipxe
+
+# Grml Live Linux
+# https://grml.org
+
+goto ${menu}
+
+:livegrml
+set os Grml Live Linux
+menu ${os}
+item --gap Versions
+item grml-full ${space} ${os} 2017.05 Full
+item grml-small ${space} ${os} 2017.05 Small
+choose livegrml_version || goto livegrml_exit
+echo ${cls}
+goto ${livegrml_version} ||
+chain ${menu}.ipxe || goto livegrml_exit
+goto livegrml_exit
+
+:grml-full
+set util_path download.grml.org/grml64-full_2017.05.iso
+set util_file grml64-full_2017.05.iso
+goto boot_memdisk
+
+:grml-small
+set util_path download.grml.org/grml64-small_2017.05.iso
+set util_file grml64-small_2017.05.iso
+goto boot_memdisk
+
+:boot_memdisk
+imgfree
+kernel ${memdisk} iso raw
+initrd --name ${util_file} http://${util_path}
+echo
+echo MD5sums:
+md5sum memdisk ${util_file}
+iseq ${img_sigs_enabled} true && goto verify_sigs || goto skip_sigs
+:verify_sigs
+echo
+echo Checking signatures...
+imgverify memdisk ${sigs}memdisk.sig || goto error
+imgverify ${util_file} ${sigs}${menu}/${util_file}.sig || goto error
+echo Signatures verified!
+echo
+:skip_sigs
+boot
+goto livegrml_exit
+
+:livegrml_exit
+clear menu
+exit 0

+ 0 - 12
src/utils.ipxe

@@ -7,8 +7,6 @@ item avg ${space} AVG Rescue CD
 item clonezilla ${space} Clonezilla
 item dban ${space} DBAN
 item gparted ${space} GParted
-item grml-full ${space} Grml (Full)
-item grml-small ${space} Grml (Small)
 item hdt ${space} Hardware Detection Tool
 item memtest-420 ${space} Memtest86+ 4.20
 item memtest-501 ${space} Memtest86+ 5.01
@@ -62,16 +60,6 @@ set util_path sourceforge.net/projects/gparted/files/gparted-live-stable/${gpart
 set util_file gparted-live-${gparted_version}-amd64.iso
 goto boot_memdisk
 
-:grml-full
-set util_path download.grml.org/devel/grml64-full_20160415_netboot_xyz.iso 
-set util_file grml64-full_20160415_netboot_xyz.iso
-goto boot_memdisk
-
-:grml-small
-set util_path download.grml.org/devel/grml64-small_20160415_netboot_xyz.iso
-set util_file grml64-small_20160415_netboot_xyz.iso 
-goto boot_memdisk
-
 :hdt
 set util_path www.hdt-project.org/raw-attachment/wiki/hdt-0.5.0/hdt-0.5.2.iso
 set util_file hdt-0.5.2.iso