diff --git a/docs/_linux/q4os.md b/docs/_linux/q4os.md new file mode 100644 index 00000000..d37dd86d --- /dev/null +++ b/docs/_linux/q4os.md @@ -0,0 +1,41 @@ +--- +title: Q4OS +homepage: https://q4os.org/ +download: https://q4os.org/downloads1.html +cfgdir: q4os.d +layout: default +--- + +# {{ page.title }} + +> Q4OS is a Debian-based desktop Linux distribution designed to offer +> classic-style user interface (Trinity) and simple accessories, and to serve +> stable APIs for complex third-party applications, such as Google Chrome, +> VirtualBox and development tools. The system is also very useful for virtual +> cloud environments due to its very low hardware requirements. +> +> -- [DistroWatch][] + + +{% if page.cfgdir %} +## Configuration + +- [Project's files for {{ page.title }}][config] +{% endif %} + + +## Supported releases + +- Live CD ISO (using [loopback.cfg][]) + + +## Links + +- [Official homepage]({{ page.homepage }}) +- [Official download page]({{ page.download }}) +- [{{ page.title }} at DistroWatch][distrowatch] + + +[config]: {{ site.github.repository_url | append: "/tree/master/mbusb.d/" | append: page.cfgdir }} +[distrowatch]: http://distrowatch.com/table.php?distribution=q4os +[loopback.cfg]: http://www.supergrubdisk.org/wiki/Loopback.cfg diff --git a/mbusb.d/q4os.d/generic.cfg b/mbusb.d/q4os.d/generic.cfg new file mode 100644 index 00000000..5751f94a --- /dev/null +++ b/mbusb.d/q4os.d/generic.cfg @@ -0,0 +1,14 @@ +for isofile in $isopath/q4os-*.iso; do + if [ -e "$isofile" ]; then + regexp --set=isoname "$isopath/(.*)" "$isofile" + submenu "$isoname (loopback.cfg) ->" "$isofile" { + iso_path="$2" + export iso_path + search --set=root --file "$iso_path" + loopback loop "$iso_path" + root=(loop) + configfile /boot/grub/loopback.cfg + loopback --delete loop + } + fi +done