summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-01-02 12:25:21 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-03 08:57:57 +0000
commit97dc1a2844d1f954fc0c86fe406ffbacc88a2133 (patch)
tree957057c5767d18559d98060f267eab76fe25348b
parent0e9b2fe106e3c6c0a1f27e7a56a11e86e5de371e (diff)
downloadopenembedded-core-contrib-97dc1a2844d1f954fc0c86fe406ffbacc88a2133.tar.gz
dropbear: Disable lastlog and wtmp on musl
Not provided by musl library Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dropbear/dropbear.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index 080ee26b2e..a30f98faa4 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -58,6 +58,9 @@ EXTRA_OECONF += "\
# This is causing [textrel] QA warning
EXTRA_OECONF += "--disable-harden"
+# musl does not implement wtmp/logwtmp APIs
+EXTRA_OECONF_append_libc-musl = " --disable-wtmp --disable-lastlog"
+
do_install() {
install -d ${D}${sysconfdir} \
${D}${sysconfdir}/init.d \