]> code.ossystems Code Review - openembedded-core.git/commitdiff
dropbear: Disable lastlog and wtmp on musl
authorKhem Raj <raj.khem@gmail.com>
Sat, 2 Jan 2021 20:25:21 +0000 (12:25 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Jan 2021 08:57:57 +0000 (08:57 +0000)
Not provided by musl library

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dropbear/dropbear.inc

index 080ee26b2ea218d62b97aeb92fb2c212059a73a1..a30f98faa42fdc9f3bc2a07467e0f5b1a0e5d1aa 100644 (file)
@@ -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 \