diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:29:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:29:49 +0000 |
commit | 67c56c3a28638e52dcb16c58f910682579367093 (patch) | |
tree | 4e18c10d4dc8f987a1ea77be8aebf2075ac4930c /debian/script | |
parent | Adding upstream version 0.140. (diff) | |
download | initramfs-tools-debian.tar.xz initramfs-tools-debian.zip |
Adding debian version 0.140.debian/0.140debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/script')
-rwxr-xr-x | debian/script | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/debian/script b/debian/script new file mode 100755 index 0000000..e83f10e --- /dev/null +++ b/debian/script @@ -0,0 +1,69 @@ +#!/bin/sh + +exec >&3 + +echo "-- initramfs sizes" +ls -lh /boot/initrd.img-* + +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 + +echo "-- lsmod" +lsmod +echo + +if [ -r /etc/initramfs-tools/modules ]; then + echo "-- /etc/initramfs-tools/modules" + sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/modules + echo +fi + +if [ -r /etc/kernel-img.conf ]; then + echo "-- /etc/kernel-img.conf" + cat /etc/kernel-img.conf + echo +fi + +if [ -r /etc/initramfs-tools/initramfs.conf ]; then + echo "-- /etc/initramfs-tools/initramfs.conf" + sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/initramfs.conf + 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 -rq "MODULES=dep" /etc/initramfs-tools/ ; then + echo "-- /sys/block" + ls /sys/block + echo +fi + +echo "-- mkinitramfs hooks" +ls /usr/share/initramfs-tools/hooks /etc/initramfs-tools/hooks/ +echo |