From 50c922e39552af0bf3f3b62259bf61c369cbd6dc Mon Sep 17 00:00:00 2001 From: r-vdp Date: Thu, 6 Jul 2023 17:10:58 +0200 Subject: [PATCH] nixos/test-driver: use the short form argument to base64 for busybox compatibility. Fixes #241938 --- nixos/lib/test-driver/test_driver/machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/lib/test-driver/test_driver/machine.py b/nixos/lib/test-driver/test_driver/machine.py index 7ef0ae89910b..eb69a56882f9 100644 --- a/nixos/lib/test-driver/test_driver/machine.py +++ b/nixos/lib/test-driver/test_driver/machine.py @@ -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