diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-06-02 13:18:04 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-02 13:18:04 +0200 |
commit | 344e2a492a776601c7e3b1843102d6918ba30cf0 (patch) | |
tree | 3718c8f2e9584f5facff9a1ebf67a7b7be25ddcf /hosts/p64c-armhf-rb.debian.net/etc/pbuilder/rebuild-hooks/B01_cleanup | |
parent | 595ac0c255f140dfb20ef683e994554b93e263b1 (diff) | |
download | jenkins.debian.net-344e2a492a776601c7e3b1843102d6918ba30cf0.tar.xz |
reproducible Debian: fixup directory name and remake link
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/p64c-armhf-rb.debian.net/etc/pbuilder/rebuild-hooks/B01_cleanup')
-rwxr-xr-x | hosts/p64c-armhf-rb.debian.net/etc/pbuilder/rebuild-hooks/B01_cleanup | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/hosts/p64c-armhf-rb.debian.net/etc/pbuilder/rebuild-hooks/B01_cleanup b/hosts/p64c-armhf-rb.debian.net/etc/pbuilder/rebuild-hooks/B01_cleanup deleted file mode 100755 index 334e03a2..00000000 --- a/hosts/p64c-armhf-rb.debian.net/etc/pbuilder/rebuild-hooks/B01_cleanup +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -e - -BUILDDIR="${BUILDDIR:-/tmp/buildd}" - -# exit if we are in the same UTS namespace as init ( != 2nd build ) -[ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0 - -# cease using disorderfs -if [ -d /tmp/disorderfs ] ; then - echo -n "Unmounting /tmp/disorderfs…" - fusermount -z -u "$BUILDDIR" - rmdir "$BUILDDIR" - mv /tmp/disorderfs "$BUILDDIR" - echo " done." -fi |