Skip to content

Commit

Permalink
Ensure passwd is available in the build environment
Browse files Browse the repository at this point in the history
We can likely create our user from the outside as an even better
solution, but for now just depend on passwd to fix the immediate issue.

Resolves: #37
  • Loading branch information
ximion committed Dec 22, 2023
1 parent af3a413 commit a1c3c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debspawn/osbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ def _create_internal(
if with_init:
print('Includes init: yes')

include_pkgs = ['python3-minimal', 'eatmydata']
include_pkgs = ['passwd', 'python3-minimal', 'eatmydata']
if with_init:
include_pkgs.append('systemd-sysv')
cmd = [bootstrap_tool_exe, '--arch={}'.format(self.arch), '--include=' + ','.join(include_pkgs)]
Expand Down

0 comments on commit a1c3c67

Please sign in to comment.