makedist.inc.sh: support for enabling additional smart repositories (ported from openmamba-milestone2)
This commit is contained in:
parent
14d91caa9a
commit
aff6c840d0
@ -164,4 +164,12 @@ rm -rf $MOUNTDIR/tmp/kde-root
|
|||||||
[ "$LANGUAGE" -a -e $TARGETDIR/platforms/$PLATFORM/root-$LANGUAGE ] &&
|
[ "$LANGUAGE" -a -e $TARGETDIR/platforms/$PLATFORM/root-$LANGUAGE ] &&
|
||||||
cp -a --no-preserve=ownership $TARGETDIR/platforms/$PLATFORM/root-$LANGUAGE/* $MOUNTDIR/
|
cp -a --no-preserve=ownership $TARGETDIR/platforms/$PLATFORM/root-$LANGUAGE/* $MOUNTDIR/
|
||||||
|
|
||||||
|
# enable additional smart repositories
|
||||||
|
if [ "$SMART_CHANNELS_ENABLE" != "" ]; then
|
||||||
|
for r in $SMART_CHANNELS_ENABLE; do
|
||||||
|
chroot $MOUNTDIR smart channel --enable $r
|
||||||
|
done
|
||||||
|
echo "$SMART_CHANNELS_ENABLE" > $MOUNTDIR/etc/smart/openmamba-install-enabled-channels
|
||||||
|
fi
|
||||||
|
|
||||||
produce_media
|
produce_media
|
||||||
|
Loading…
Reference in New Issue
Block a user