diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-16 18:14:18 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-16 18:14:18 +0200 |
commit | 0c07058a3f9da129a89df9d2780f0d4e778e8ca0 (patch) | |
tree | 25f13b89a4cb439b3a48b327e501233e74290b40 /bin | |
parent | 12a743d0d213112f7ef712c7f9b5662f854c4857 (diff) | |
download | jenkins.debian.net-0c07058a3f9da129a89df9d2780f0d4e778e8ca0.tar.xz |
reproducible arch: allow hidden files
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build_arch_pkg.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh index 34eb5529..99aafb62 100755 --- a/bin/reproducible_build_arch_pkg.sh +++ b/bin/reproducible_build_arch_pkg.sh @@ -17,7 +17,7 @@ cleanup_all() { # delete main work dir rm $TMPDIR -r echo "$(date -u) - $TMPDIR deleted." - # delete makekpg work dir + # delete makekpg build dir if [ ! -z $SRCPACKAGE ] && [ -d /tmp/$SRCPACKAGE-$(basename $TMPDIR) ] ; then rm -r /tmp/$SRCPACKAGE-$(basename $TMPDIR) fi @@ -47,8 +47,8 @@ first_build() { local BUILDDIR="/tmp/$SRCPACKAGE-$(basename $TMPDIR)" schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-arch schroot --run-session -c $SESSION --directory /tmp -- mkdir $BUILDDIR - schroot --run-session -c $SESSION --directory /tmp -- cp -r /var/abs/core/$SRCPACKAGE/* $BUILDDIR/ - schroot --run-session -c $SESSION --directory $BUILDDIR -- makepkg --skippgpcheck + schroot --run-session -c $SESSION --directory /tmp -- cp -r /var/abs/core/$SRCPACKAGE $BUILDDIR/ + schroot --run-session -c $SESSION --directory $BUILDDIR/$SRCPACKAGE -- makepkg --skippgpcheck schroot --end-session -c $SESSION if ! "$DEBUG" ; then set +x ; fi } @@ -64,8 +64,8 @@ second_build() { local BUILDDIR="/tmp/$SRCPACKAGE-$(basename $TMPDIR)" schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-arch schroot --run-session -c $SESSION --directory /tmp -- mkdir $BUILDDIR - schroot --run-session -c $SESSION --directory /tmp -- cp -r /var/abs/core/$SRCPACKAGE/* $BUILDDIR/ - schroot --run-session -c $SESSION --directory $BUILDDIR -- makepkg --skippgpcheck + schroot --run-session -c $SESSION --directory /tmp -- cp -r /var/abs/core/$SRCPACKAGE $BUILDDIR/ + schroot --run-session -c $SESSION --directory $BUILDDIR/$SRCPACKAGE -- makepkg --skippgpcheck schroot --end-session -c $SESSION if ! "$DEBUG" ; then set +x ; fi } |