diff --git a/user/apps/busybox/Makefile b/user/apps/busybox/Makefile index b46fed37c..2afb85f30 100644 --- a/user/apps/busybox/Makefile +++ b/user/apps/busybox/Makefile @@ -37,6 +37,7 @@ $(bin): $(busybox_dir) echo "CONFIG_FEATURE_STATIC=y" >> .config && \ echo "CONFIG_STATIC_LIBGCC=y" >> .config && \ echo "CONFIG_ASH=y" >> .config && \ + echo "CONFIG_FEATURE_DEFAULT_PASSWD_ALGO=\"sha512\"" >> .config && \ echo "CONFIG_ASH_READ_PROFILE=y" >> .config diff --git a/user/apps/default.nix b/user/apps/default.nix index 7a407b2fe..55c00d759 100644 --- a/user/apps/default.nix +++ b/user/apps/default.nix @@ -57,7 +57,11 @@ let ); in [ - static.busybox + (static.busybox.override { + extraConfig = '' + CONFIG_FEATURE_DEFAULT_PASSWD_ALGO "sha512" + ''; + }) static.curl static.dropbear cross.glibc