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
e4776858
Commit
e4776858
authored
Aug 05, 2022
by
Vagrant Cascadian
Browse files
reproducible Debian: Report the /bin/sh symlink after the change
parent
d0bba554
Changes
1
Hide whitespace changes
Inline
Side-by-side
hosts/common/etc/pbuilder/rebuild-hooks/D01_modify_environment
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
...
...
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