blob: df37129cf2da197279c5d0ff88f155f4abd4663f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
set -e
# 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
sudo -u pbuilder2 fusermount -u /tmp/buildd
mv /tmp/disorderfs /tmp/buildd
|