[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] chroot-installation.sh: grep-dctrl is too greedy
Holger Levsen
gitlab at salsa.debian.org
Sat Mar 6 16:02:35 GMT 2021
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
cece70b7 by Paul Gevers at 2021-03-06T17:01:32+01:00
chroot-installation.sh: grep-dctrl is too greedy
For the qt5 job, instead of only querying for the binaries of
src:qtbase-opensource-src, also src:qtbase-opensource-src-gles
is queried. But the binaries of those two source packages can't
be simultaneously be installed and hence the test fails on non
installability.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/chroot-installation.sh
Changes:
=====================================
bin/chroot-installation.sh
=====================================
@@ -125,7 +125,7 @@ set -x
apt-get install -y dctrl-tools
PACKAGES=""
for PKG in $@ ; do
- PACKAGES="\$PACKAGES \$(grep-dctrl -S \$PKG /var/lib/apt/lists/*Packages | sed -n -e "s#^Package: ##p" | xargs -r echo)"
+ PACKAGES="\$PACKAGES \$(grep-dctrl -X -S \$PKG /var/lib/apt/lists/*Packages | sed -n -e "s#^Package: ##p" | xargs -r echo)"
done
apt-get install -y \$PACKAGES
apt-get clean
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cece70b7e5f9d092eeab378fbe8c174694ed962b
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/cece70b7e5f9d092eeab378fbe8c174694ed962b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210306/9fae5c53/attachment.htm>
More information about the Qa-jenkins-scm
mailing list