diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-11 21:06:28 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-11 21:06:28 +0100 |
commit | 2ef59db319a5925d29daea6927194aebb8a38426 (patch) | |
tree | 5532b1a95b6aef5847ed2d3b9a440745e751f639 /bin | |
parent | dec4b8b9ee51e8dfa52d296da9feb13fba61856e (diff) | |
download | jenkins.debian.net-2ef59db319a5925d29daea6927194aebb8a38426.tar.xz |
reproducible fedora rpms: mock needs a write resultdir
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_setup_mock.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh index 6559667f..efb2c473 100755 --- a/bin/reproducible_setup_mock.sh +++ b/bin/reproducible_setup_mock.sh @@ -4,7 +4,7 @@ # released under the GPLv=2 # -# configures mock for a given distro and architecture +# configure mock for a given release and architecture # DEBUG=false @@ -12,16 +12,16 @@ DEBUG=false common_init "$@" if [ -z "$1" ] || [ -z "$2" ] ; then - echo "Need distro and architecture as params" + echo "Need release and architecture as params." exit 1 fi -DISTRO=$1 -ARCHITECTURE=$2 +RELEASE=$1 +ARCH=$2 echo "$(date -u) - showing setup." dpkg -l mock id -echo "$(date -u) - starting to cleanly configure mock for ${DISTRO} on ${ARCHITECTURE}." -mock -r ${DISTRO}-${ARCHITECTURE} --clean -mock -r ${DISTRO}-${ARCHITECTURE} --init -echo "$(date -u) - mock configured for ${DISTRO} on ${ARCHITECTURE}." +echo "$(date -u) - starting to cleanly configure mock for $RELEASE on $ARCH." +mock -r $RELEASE-$ARCH --resultdir=. --clean +mock -r $RELEASE-$ARCH --resultdir=. --init +echo "$(date -u) - mock configured for $RELEASE on $ARCH." |