diff --git a/makedist.inc.sh b/makedist.inc.sh index 757d7e3..c7a2147 100644 --- a/makedist.inc.sh +++ b/makedist.inc.sh @@ -18,6 +18,8 @@ libcap libaudit libselinux libsepol libpcre libcap-ng libattr libstdc++6 libpam" # pam initscripts chroot $MOUNTDIR /usr/sbin/update-alternatives --install /bin/sh sh /bin/bash 20 +[ -e $TARGETDIR/platforms/$PLATFORM/pre.inc.sh ] && . $TARGETDIR/platforms/$PLATFORM/pre-packages.inc.sh + [ "$LANGUAGE" ] && { [ "$LANGUAGE" = "en" ] && KEYMAP=us || KEYMAP="$LANGUAGE" diff --git a/platforms/livedvd-root/pre-packages.inc.sh b/platforms/livedvd-root/pre-packages.inc.sh new file mode 100644 index 0000000..d792996 --- /dev/null +++ b/platforms/livedvd-root/pre-packages.inc.sh @@ -0,0 +1,3 @@ +# Configure rpm for livedvd supported languages +mkdir -p ${MOUNTDIR}/etc/rpm +echo "%install_langs en:it:fr:es:de" > ${MOUNTDIR}/etc/rpm/macros.lang