Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
e5ddf396
Commit
e5ddf396
authored
Aug 28, 2015
by
Holger Levsen
Browse files
reproducible: use disorderfs in the 2nd build
parent
b3a69148
Changes
3
Hide whitespace changes
Inline
Side-by-side
hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup
0 → 100755
View file @
e5ddf396
#!/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
hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
0 → 100755
View file @
e5ddf396
#!/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
hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
View file @
e5ddf396
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment