From ef39c912b924d4d83eda2d39ce8586089db828e4 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 25 Nov 2007 21:17:14 +0100 Subject: [PATCH] Support loading of squashfs module --- debian/changelog | 2 ++ etc/grml/fai/live-initramfs/grml-script.init-top | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 093972f..ea6b746 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,6 +24,8 @@ grml-live (0.0.10) unstable; urgency=low - aosd-cat - lzma-modules-2.6.23-grml - squashfs-modules-2.6.23-grml (we build the module external now) + * Support loading of squashfs module via + /etc/grml/fai/live-initramfs/grml-script.init-top * Do not create /etc/sysconfig/network-scripts and /etc/sysconfig/provider any longer in cleanup script. * Fix typo in bootsplash f3 (thanks, jimmy). diff --git a/etc/grml/fai/live-initramfs/grml-script.init-top b/etc/grml/fai/live-initramfs/grml-script.init-top index 4b62c70..5ed49b0 100755 --- a/etc/grml/fai/live-initramfs/grml-script.init-top +++ b/etc/grml/fai/live-initramfs/grml-script.init-top @@ -127,6 +127,11 @@ if ! grep -qe debug -qe verbose /proc/cmdline 2>/dev/null ; then [ -r /proc/sys/kernel/printk ] && echo "0" > /proc/sys/kernel/printk fi +# Make sure we support squashfs: +if ! grep -q squashfs /proc/filesystems ; then + modprobe -q squashfs || log_grml_failure_msg "Warning: look like you do not have support for squashfs" +fi + if grep -q 'boot=live' /proc/cmdline 2>/dev/null ; then log_grml_begin_msg "Finished early booting sequence." ; echo "$SUCCESS" log_grml_begin_msg "Searching for GRML file, this might take a few seconds..." -- 2.1.4