mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
nixos/test-driver: use the short form argument to base64 for busybox compatibility.
Fixes #241938
This commit is contained in:
parent
03dab3dfc0
commit
50c922e395
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ class Machine:
|
|||
# While sh is bash on NixOS, this is not the case for every distro.
|
||||
# We explicitly call bash here to allow for the driver to boot other distros as well.
|
||||
out_command = (
|
||||
f"{timeout_str} bash -c {shlex.quote(command)} | (base64 --wrap 0; echo)\n"
|
||||
f"{timeout_str} bash -c {shlex.quote(command)} | (base64 -w 0; echo)\n"
|
||||
)
|
||||
|
||||
assert self.shell
|
||||
|
|
Loading…
Reference in a new issue