diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-07 20:40:14 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-07 20:40:14 +0100 |
commit | 53f02787c24428a4176896b1c8f3bf41ae67d68f (patch) | |
tree | e8899786f5199cb833d08f2108bc50b2557e3ae0 /bin/reproducible_setup_mock.sh | |
parent | ece2032911c5668cf137cf43e3abbaad4e75209a (diff) | |
download | jenkins.debian.net-53f02787c24428a4176896b1c8f3bf41ae67d68f.tar.xz |
reproducible rpms: configure mock nicely
Diffstat (limited to 'bin/reproducible_setup_mock.sh')
-rwxr-xr-x | bin/reproducible_setup_mock.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh index 2385693d..37d2b21d 100755 --- a/bin/reproducible_setup_mock.sh +++ b/bin/reproducible_setup_mock.sh @@ -18,6 +18,12 @@ fi DISTRO=$1 ARCHITECTURE=$2 -echo "$(date -u) - starting to configure mock for ${DISTRO} on ${ARCHITECTURE} now." -mock -r ${DISTRO}-${ARCHITECTURE} --init -echo "$(date -u) - mock configured for ${DISTRO} on ${ARCHITECTURE} now." +echo "$(date -u) - showing setup." +dpkg -l mock +id +echo "$(date -u) - starting to cleanly configure mock for ${DISTRO} on ${ARCHITECTURE}." +set -x +mock -r ${DISTRO}-${ARCHITECTURE} --resultdir=. --clean +mock -r ${DISTRO}-${ARCHITECTURE} --resultdir=. --init +set +x +echo "$(date -u) - mock configured for ${DISTRO} on ${ARCHITECTURE}." |