osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/30515 ) Change subject: obs: build_deb/rpm: show contents after build ...................................................................... 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 --- M scripts/obs/data/build_deb.sh M scripts/obs/data/build_rpm.sh 2 files changed, 12 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/scripts/obs/data/build_deb.sh b/scripts/obs/data/build_deb.sh index 0030278..11eb36f 100755 --- a/scripts/obs/data/build_deb.sh +++ b/scripts/obs/data/build_deb.sh @@ -12,3 +12,9 @@ $apt_get update $apt_get build-dep . su "$BUILDUSER" -c "dpkg-buildpackage -us -uc -j$JOBS" + +# Show contents +cd .. +for i in *.deb; do + dpkg -c "$i" +done diff --git a/scripts/obs/data/build_rpm.sh b/scripts/obs/data/build_rpm.sh index 3ade17e..77efef2 100755 --- a/scripts/obs/data/build_rpm.sh +++ b/scripts/obs/data/build_rpm.sh @@ -29,3 +29,9 @@ if [ -n "$INSIDE_DOCKER" ]; then su "$BUILDUSER" -c "mv ~/rpmbuild/RPMS/*/*.rpm _temp/binpkgs/" fi + +# Show contents +cd _temp/binpkgs +for i in *.rpm; do + rpm -qlp "$i" +done -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/30515 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: Ie30b07f35f7e41990fa352523427d86458291d4d Gerrit-Change-Number: 30515 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-MessageType: merged