Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jenkins.debian.net
Manage
Activity
Members
Labels
Code
Merge requests
11
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian QA
jenkins.debian.net
Commits
e4776858
Commit
e4776858
authored
2 years ago
by
Vagrant Cascadian
Browse files
Options
Downloads
Patches
Plain Diff
reproducible Debian: Report the /bin/sh symlink after the change
parent
d0bba554
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hosts/common/etc/pbuilder/rebuild-hooks/D01_modify_environment
+2
-0
2 additions, 0 deletions
.../common/etc/pbuilder/rebuild-hooks/D01_modify_environment
with
2 additions
and
0 deletions
hosts/common/etc/pbuilder/rebuild-hooks/D01_modify_environment
+
2
−
0
View file @
e4776858
...
...
@@ -23,6 +23,8 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
echo
"I: Changing /bin/sh to bash"
>
&2
echo
"dash dash/sh boolean false"
| debconf-set-selections
DEBIAN_FRONTEND
=
noninteractive dpkg-reconfigure dash
# Display the /bin/sh link to check if it actually changed
ls
-l
/bin/sh
>
&2
if
[
-n
"
$BUILDUSERNAME
"
]
;
then
echo
"I: Setting
$BUILDUSERNAME
's login shell to /bin/bash"
>
&2
usermod
-s
/bin/bash
$BUILDUSERNAME
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment