Fix passing of components to germinate commandline (how did this ever work?)

ubuntu/kinetic
Steve Langasek 2 years ago
parent b3343c1255
commit 1f0a3d7797

2
debian/changelog vendored

@ -7,6 +7,8 @@ livecd-rootfs (2.781) UNRELEASED; urgency=medium
* Drop use of deprecated apt-key. * Drop use of deprecated apt-key.
* Drop edubuntu and kubuntu-active, both obsolete in *all* supported * Drop edubuntu and kubuntu-active, both obsolete in *all* supported
releases. releases.
* Fix passing of components to germinate commandline (how did this ever
work?)
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 21 Sep 2022 13:26:30 -0700 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 21 Sep 2022 13:26:30 -0700

@ -669,9 +669,12 @@ esac
if ! [ -e config/germinate-output/structure ]; then if ! [ -e config/germinate-output/structure ]; then
echo "Running germinate..." echo "Running germinate..."
if [ -n "$COMPONENTS" ]; then
GERMINATE_ARG="-c $(echo $COMPONENTS | sed -e's/ \+/,/g')"
fi
(cd config/germinate-output && germinate --no-rdepends --no-installer \ (cd config/germinate-output && germinate --no-rdepends --no-installer \
-S $SEEDMIRROR -m $MIRROR -d $SUITE -s $SEED \ -S $SEEDMIRROR -m $MIRROR -d $SUITE -s $SEED \
${COMPONENTS:+-c "$COMPONENTS"} -a $ARCH) $GERMINATE_ARG -a $ARCH)
fi fi
case $PROJECT in case $PROJECT in

Loading…
Cancel
Save