Commit e5ddf396 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible: use disorderfs in the 2nd build

parent b3a69148
#!/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
fusermount -u /tmp/buildd
mv /tmp/disorderfs /tmp/buildd
#!/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
fusermount -u /tmp/buildd
mv /tmp/disorderfs /tmp/buildd
......@@ -11,3 +11,7 @@ hostname i-capture-the-hostname
domainname i-capture-the-domain
echo "I: Adding a custom variable just for the fun of it..." >&2
export CAPTURE_ENVIRONMENT="I capture the environment"
# use disorderfs
mv /tmp/buildd /tmp/disorderfs
disorderfs /tmp/disorderfs /tmp/buildd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment