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