mirror of https://gerrit.osmocom.org/osmo-ci
obs: build_deb/rpm: show contents after build
After building packages with the OBS scripts, show their contents. This allows easy checking if config files were correctly packaged etc. By adding it here, it will also show up at the end of the related jenkins jobs for gerrit verifications. Related: OS#5817 Change-Id: Ie30b07f35f7e41990fa352523427d86458291d4d
This commit is contained in:
parent
54a36bcb7d
commit
4fe56c0968
|
@ -12,3 +12,9 @@ cd _temp/binpkgs/*
|
||||||
$apt_get update
|
$apt_get update
|
||||||
$apt_get build-dep .
|
$apt_get build-dep .
|
||||||
su "$BUILDUSER" -c "dpkg-buildpackage -us -uc -j$JOBS"
|
su "$BUILDUSER" -c "dpkg-buildpackage -us -uc -j$JOBS"
|
||||||
|
|
||||||
|
# Show contents
|
||||||
|
cd ..
|
||||||
|
for i in *.deb; do
|
||||||
|
dpkg -c "$i"
|
||||||
|
done
|
||||||
|
|
|
@ -29,3 +29,9 @@ su "$BUILDUSER" -c "rpmbuild -bb ~/rpmbuild/SPECS/$spec"
|
||||||
if [ -n "$INSIDE_DOCKER" ]; then
|
if [ -n "$INSIDE_DOCKER" ]; then
|
||||||
su "$BUILDUSER" -c "mv ~/rpmbuild/RPMS/*/*.rpm _temp/binpkgs/"
|
su "$BUILDUSER" -c "mv ~/rpmbuild/RPMS/*/*.rpm _temp/binpkgs/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Show contents
|
||||||
|
cd _temp/binpkgs
|
||||||
|
for i in *.rpm; do
|
||||||
|
rpm -qlp "$i"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue