Skip to contentSkip to conversation

ntpsec: Disable seccomp on musl/rv32

PATCH New Khem Raj 1 participant 2 messages Nov 4, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 ntpsec: Disable seccomp on musl/rv32

seccomp on musl is not fully done yet

---
 meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb +3 -0
index 1e075b0971..a0d8871ccc 100644
@@ -26,6 +26,9 @@ PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'seccomp systemd', d)} \
                  mssntp \
                  nts \
                  refclocks"
+
+PACKAGECONFIG:remove:riscv32:libc-musl = "seccomp"
+
 PACKAGECONFIG[cap] = ",,libcap"
 PACKAGECONFIG[leap-smear] = "--enable-leap-smear"
 PACKAGECONFIG[mdns] = ",,mdns"
Signature · 1 line
2.33.1
author
#1 lore raw

PATCH 2/2 ntpsec: Disable documentation

It seems to require asciidoctor and currently does not build until someone fixes it, disable it for cosnsitency.

---
 meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb +1 -0
index a0d8871ccc..167af04ca4 100644
@@ -30,6 +30,7 @@ PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'seccomp systemd', d)} \
 PACKAGECONFIG:remove:riscv32:libc-musl = "seccomp"
 
 PACKAGECONFIG[cap] = ",,libcap"
+PACKAGECONFIG[docs] = "--enable-doc --enable-manpage,--disable-doc --disable-manpage,"
 PACKAGECONFIG[leap-smear] = "--enable-leap-smear"
 PACKAGECONFIG[mdns] = ",,mdns"
 PACKAGECONFIG[mssntp] = "--enable-mssntp"
Signature · 1 line
2.33.1