Bug#335505: initramfs-tools: initramfs/conf/modules contains the list of current directory
Version: 0.42
I still experience this bug. If initrd exists but empty i still get the
listing of the current directory in the conf/modules.
I've got this in my kernelextras script:
if [ ! -d ${MODULESDIR}/initrd ]; then
exit 0
fi
fbcon=n
for x in ${MODULESDIR}/initrd/*; do
x=${x##*/}
x=${x%.*}
case ${x} in
*fb)
fbcon=y
;;
esac
force_load ${x}
done
If i enter the "update-initramfs -k 2.6.14-2-k7 -vc" command in an empty
dir, i get this in my conf/modules file:
*
unix
Reply to: