summaryrefslogtreecommitdiff
path: root/debian/script
diff options
context:
space:
mode:
Diffstat (limited to 'debian/script')
-rwxr-xr-xdebian/script24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/script b/debian/script
index 706a84d..46b6650 100755
--- a/debian/script
+++ b/debian/script
@@ -2,10 +2,18 @@
exec >&3
+echo "-- initramfs sizes"
+ls -lh /boot/initrd.img-2.6.*
+
echo "-- /proc/cmdline"
cat /proc/cmdline
echo
+if [ -r /etc/initramfs-tools/conf.d/resume ]; then
+ echo "-- resume"
+ cat /etc/initramfs-tools/conf.d/resume
+fi
+
echo "-- /proc/filesystems"
grep -v nodev /proc/filesystems
echo
@@ -26,14 +34,30 @@ if [ -r /etc/initramfs-tools/initramfs.conf ]; then
echo
fi
+if [ -r /etc/initramfs-tools/update-initramfs.conf ]; then
+ echo "-- /etc/initramfs-tools/update-initramfs.conf"
+ sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/update-initramfs.conf
+ echo
+fi
+
if [ -r /etc/crypttab ]; then
echo "-- /etc/crypttab"
cat /etc/crypttab
echo
fi
+if [ -r /proc/mdstat ]; then
+ echo "-- /proc/mdstat"
+ cat /proc/mdstat
+ echo
+fi
+
if grep -q "MODULES=dep" /etc/initramfs-tools/initramfs.conf ; then
echo "-- /sys/block"
ls /sys/block
echo
fi
+
+echo "-- mkinitramfs hooks"
+ls /usr/share/initramfs-tools/hooks /etc/initramfs-tools/hooks/
+echo