Signed-off-by: Matthias Klein <[email protected]>
---
 rules/busybox.make |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rules/busybox.make b/rules/busybox.make
index 7a37f43..53cc1ca 100644
--- a/rules/busybox.make
+++ b/rules/busybox.make
@@ -43,6 +43,11 @@ $(STATEDIR)/busybox.prepare:
        @grep -e PTXCONF_BUSYBOX_ $(PTXDIST_PTXCONFIG) | \
                sed -e 's/PTXCONF_BUSYBOX_/CONFIG_/g' > $(BUSYBOX_DIR)/.config
 
+ifdef PTXCONF_BUSYBOX_USE_BB_CRYPT_SHA
+       @sed -i -e 
's,^CONFIG_FEATURE_DEFAULT_PASSWD_ALGO.*$$,CONFIG_FEATURE_DEFAULT_PASSWD_ALGO=\"sha512\",g'
 \
+               "$(BUSYBOX_DIR)/.config"
+endif
+
        @$(call ptx/oldconfig, BUSYBOX)
 
        @$(call touch)
-- 
1.7.10.4


-- 
ptxdist mailing list
[email protected]

Reply via email to