From d39eb867352f2a9d48c4fed10b6c648a640a2e5a Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Fri, 7 Oct 2022 10:08:07 +0200 Subject: dropbear: dont set PACKAGECONFIG to empty Directly set PACKAGECONFIG is risky, it could override the same variable in other layers, let's change to use PACKAGECONFIG:remove instead. Signed-off-by: Ming Liu (cherry picked from commit fb417309b02aeffb89f38e95af1f55d5419f7321) --- recipes-core/dropbear/dropbear_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/dropbear/dropbear_%.bbappend b/recipes-core/dropbear/dropbear_%.bbappend index 0083f42..587c497 100644 --- a/recipes-core/dropbear/dropbear_%.bbappend +++ b/recipes-core/dropbear/dropbear_%.bbappend @@ -3,4 +3,4 @@ # If debug-tweaks is set in IMAGE_FEATURES then enable also weak ciphers. # With debug-tweaks we allow password less root access, enforcing strong # ciphers is pointless anyway. -PACKAGECONFIG = "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "", "disable-weak-ciphers",d)}" +PACKAGECONFIG:remove = "${@bb.utils.contains('IMAGE_FEATURES', 'debug-tweaks', 'disable-weak-ciphers', '',d)}" -- cgit v1.2.3