Commit a524a680 authored by Michael Shigorin's avatar Michael Shigorin

kernel: disable make-initrd debug script

This one has filled up the entire 8 Mb tmpfs while running inside installer stage1 on a 124-drive system (configured as JBOD). Reported-by: http://norsi-trans.ru
parent ba4de25c
...@@ -13,6 +13,11 @@ kver="$(rpm -qa 'kernel-image*' \ ...@@ -13,6 +13,11 @@ kver="$(rpm -qa 'kernel-image*' \
[ -n "$kver" ] || [ -n "$kver" ] ||
fatal "no kernel version identified" fatal "no kernel version identified"
# FIXME: large storage systems can get that tmpfs filled up
# with debug data as of make-initrd 2.2.12
rm -vf /usr/share/make-initrd/data/etc/udev/rules.d/00-debug.rules \
/usr/share/make-initrd/data/lib/uevent/filters/debug
MAKE_INITRD_OPTS="--no-checks -k $kver" MAKE_INITRD_OPTS="--no-checks -k $kver"
MAKE_INITRD_VER="`make-initrd -V \ MAKE_INITRD_VER="`make-initrd -V \
| sed -rn 's/^make-initrd version ([0-9.]+)/\1/p'`" | sed -rn 's/^make-initrd version ([0-9.]+)/\1/p'`"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment