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
5a942465
Commit
5a942465
authored
Aug 29, 2015
by
Holger Levsen
Browse files
reproducible: use disorderfs as user
parent
e5ddf396
Changes
3
Hide whitespace changes
Inline
Side-by-side
hosts/jenkins/etc/pbuilder/rebuild-hooks/B01_cleanup
View file @
5a942465
...
...
@@ -6,5 +6,5 @@ set -e
[
"
$(
readlink
/proc/1/ns/uts
)
"
=
"
$(
readlink
/proc/self/ns/uts
)
"
]
&&
exit
0
# cease using disorderfs
fusermount
-u
/tmp/buildd
sudo
-u
pbuilder2
fusermount
-u
/tmp/buildd
mv
/tmp/disorderfs /tmp/buildd
hosts/jenkins/etc/pbuilder/rebuild-hooks/C01_cleanup
View file @
5a942465
...
...
@@ -6,5 +6,5 @@ set -e
[
"
$(
readlink
/proc/1/ns/uts
)
"
=
"
$(
readlink
/proc/self/ns/uts
)
"
]
&&
exit
0
# cease using disorderfs
fusermount
-u
/tmp/buildd
sudo
-u
pbuilder2
fusermount
-u
/tmp/buildd
mv
/tmp/disorderfs /tmp/buildd
hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
View file @
5a942465
...
...
@@ -12,6 +12,6 @@ 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
# use disorderfs
, mount it as user
mv
/tmp/buildd /tmp/disorderfs
disorderfs /tmp/disorderfs /tmp/buildd
sudo
-u
pbuilder2
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