--- mkinitrd-6.0.62/mkinitrd.hooks 2008-09-11 13:19:02.000000000 -0300 +++ mkinitrd-6.0.62/mkinitrd 2008-09-11 15:00:00.000000000 -0300 @@ -1805,6 +1805,15 @@ if [ "$IF_dynamic" == "yes" ]; then fi fi +for file in /etc/sysconfig/mkinitrd.d/* ; do + if [[ "$file" =~ ^.*(~|\.bak|\.orig|\.rpm(save|orig|new))$ ]] ; then + continue + fi + if [ -r "$file" ]; then + source "$file" + fi +done + (cd $MNTIMAGE; findall . | cpio -H newc --quiet -o) >| $IMAGE || exit 1 if [ -n "$compress" ]; then