From 5ba878df2d98df1b7928bc4d0d72309a75e5ee21 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 14 Apr 2013 21:28:39 +0200 Subject: [PATCH] makedist.inc.sh: fix for modules dependencies not being created --- makedist.inc.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/makedist.inc.sh b/makedist.inc.sh index b11a001..c8984d3 100644 --- a/makedist.inc.sh +++ b/makedist.inc.sh @@ -91,12 +91,6 @@ install_rpms_by_target "Installing ${PLATFORM} platform packages" ${MAKEDIST_TAR [ "$LANGUAGE" ] && install_rpms_by_target "Installing ${PLATFORM} platform localization packages for language $LANGUAGE" ${MAKEDIST_TARGET}-${PLATFORM}-${LANGUAGE} "${RPMEXTRAARGS}" [ "$ARCH" ] && install_rpms_by_target "Installing ${PLATFORM} platform packages for arch $ARCH" ${MAKEDIST_TARGET}-${PLATFORM}-${ARCH} "${RPMEXTRAARGS}" -if [ ! "$KERNEL_IGNORE" ]; then - for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do - update_modules_dependencies ${KERNEL_VER}${K} - done -fi - if [ "$APPLICATION_TARGET" ]; then add_additional_defs_file /usr/share/openmamba/pkggroups.db for t in $APPLICATION_TARGET; do @@ -174,4 +168,11 @@ if [ "$SMART_CHANNELS_ENABLE" != "" ]; then echo "$SMART_CHANNELS_ENABLE" > $MOUNTDIR/etc/smart/openmamba-install-enabled-channels fi +if [ ! "$KERNEL_IGNORE" ]; then + for K in $KERNEL_EXTRAVER $KERNEL_MORE_EXTRAVER; do + echo "Updating modules dependencies for kernel ${KERNEL_MAJVER}${K}" + update_modules_dependencies ${KERNEL_MAJVER}${K} + done +fi + produce_media