makedist.inc.sh: fix for modules dependencies not being created

This commit is contained in:
Silvan Calarco 2013-04-14 21:28:39 +02:00
parent e88e5f0d26
commit 5ba878df2d

View File

@ -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}" [ "$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}" [ "$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 if [ "$APPLICATION_TARGET" ]; then
add_additional_defs_file /usr/share/openmamba/pkggroups.db add_additional_defs_file /usr/share/openmamba/pkggroups.db
for t in $APPLICATION_TARGET; do 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 echo "$SMART_CHANNELS_ENABLE" > $MOUNTDIR/etc/smart/openmamba-install-enabled-channels
fi 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 produce_media