diff --git a/README.md b/README.md index b2e9599..8f68542 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ The supported `iso` sub-directories (in alphabetical order) are : * [`peppermint`](https://peppermintos.com/) * [`popos`](https://pop.system76.com/) * [`porteus`](http://www.porteus.org/) +* [`rescuezilla`](https://rescuezilla.com/) * [`rhel`](https://www.redhat.com/rhel) - _Installation only_ * [`rockylinux`](https://rockylinux.org/) * [`slitaz`](https://slitaz.org/) @@ -183,7 +184,7 @@ releases of some distro: Sample ordered menu: | | iso mtime | -|------------------------------------|-------------------------| +| ---------------------------------- | ----------------------- | | Debian Live 12.0.0 amd64 standard | 10 June 2023 | | Debian Live 11.7.0 amd64 gnome | 14 August 2021 + 7 days | | Debian Live 11.7.0 amd64 kde | 14 August 2021 + 7 days | diff --git a/grub2/grub.cfg b/grub2/grub.cfg index 3280a3b..e091169 100644 --- a/grub2/grub.cfg +++ b/grub2/grub.cfg @@ -355,6 +355,12 @@ if any_exists ${isopath}/porteus/Porteus-*.iso; then } fi +if any_exists ${isopath}/rescuezilla/rescuezilla-*.iso; then + menuentry "Rescuezilla >" --class rescuezilla { + configfile "${prefix}/inc-rescuezilla.cfg" + } +fi + if any_exists ${isopath}/rhel/rhel-*.iso; then menuentry "Red Hat Enterprise Linux >" --class redhat { configfile "${prefix}/inc-rhel.cfg" diff --git a/grub2/inc-rescuezilla.cfg b/grub2/inc-rescuezilla.cfg new file mode 100644 index 0000000..64cb364 --- /dev/null +++ b/grub2/inc-rescuezilla.cfg @@ -0,0 +1,29 @@ +# Rescuezilla +function add_menu { + isofile="$1" + + if regexp "rolling" "${isofile}"; then # Exceptional weekly release + regexp \ + --set 1:isoname \ + --set 2:version \ + --set 3:arch \ + "^${isopath}/rescuezilla/(rescuezilla-(rolling-release.20..-..-..).(.+)\.iso)\$" "${isofile}" + else # Normal release + regexp \ + --set 1:isoname \ + --set 2:version \ + --set 3:arch \ + "^${isopath}/rescuezilla/(rescuezilla-(.+)-(.+)\.iso)\$" "${isofile}" + fi + menuentry "Rescuezilla ${version} ${arch}" "${isofile}" "${isoname}" --class rescuezilla { + set isofile=$2 + set isoname=$3 + use "${isoname}" + loop $isofile + linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} skip quiet splash + initrd (loop)/casper/initrd.* + } +} + +for_each_sorted add_menu "$isopath"/rescuezilla/rescuezilla-*.iso + diff --git a/grub2/themes/invader/icons/rescuezilla.png b/grub2/themes/invader/icons/rescuezilla.png new file mode 100644 index 0000000..918065f Binary files /dev/null and b/grub2/themes/invader/icons/rescuezilla.png differ diff --git a/icons-original/invader/rescuezilla.png b/icons-original/invader/rescuezilla.png new file mode 100644 index 0000000..aa67335 Binary files /dev/null and b/icons-original/invader/rescuezilla.png differ