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

This commit is contained in:
Steve Langasek 2022-09-21 16:47:47 -07:00
parent b3343c1255
commit 1f0a3d7797
2 changed files with 6 additions and 1 deletions

2
debian/changelog vendored
View File

@ -7,6 +7,8 @@ livecd-rootfs (2.781) UNRELEASED; urgency=medium
* Drop use of deprecated apt-key.
* Drop edubuntu and kubuntu-active, both obsolete in *all* supported
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

View File

@ -669,9 +669,12 @@ esac
if ! [ -e config/germinate-output/structure ]; then
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 \
-S $SEEDMIRROR -m $MIRROR -d $SUITE -s $SEED \
${COMPONENTS:+-c "$COMPONENTS"} -a $ARCH)
$GERMINATE_ARG -a $ARCH)
fi
case $PROJECT in