virtiofsd: add seccomp to REQUIRED_DISTRO_FEATURES
PATCH 1/1 virtiofsd: add seccomp to REQUIRED_DISTRO_FEATURES
* otherwise causes world build failures for DISTROs without seccomp:
ERROR: Nothing PROVIDES 'libseccomp' (but meta-virtualization/recipes-extended/virtiofsd/virtiofsd_1.7.0.bb DEPENDS on or otherwise requires it) libseccomp was skipped: missing required distro feature 'seccomp' (not in DISTRO_FEATURES)
--- recipes-extended/virtiofsd/virtiofsd_1.7.0.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
recipes-extended/virtiofsd/virtiofsd_1.7.0.bb +5 -2
@@ -6,8 +6,11 @@ LIC_FILES_CHKSUM = " \ file://LICENSE-APACHE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://LICENSE-BSD-3-Clause;md5=b1ed361f9fc790c1054d81a7ef041a34 \ " -DEPENDS += "libseccomp" -DEPENDS += "libcap-ng" + +DEPENDS = "libseccomp libcap-ng" + +inherit features_check +REQUIRED_DISTRO_FEATURES = "seccomp" SRC_URI += "crate://crates.io/virtiofsd/1.7.0" SRC_URI[virtiofsd-1.7.0.sha256sum] = "6f043afa23aedbb18f36084b9df831796a9e4c62e73a16fe557de0cf30d7708d"
Signature · 1 line
2.42.0
Thanks Martin,
This is on master-next (soon to become master)
Bruce
In message: [meta-virtualization] [master-next][PATCH] virtiofsd: add seccomp to REQUIRED_DISTRO_FEATURES
Quoted 41 lines · on 01/09/2023 Martin Jansa wrote:
* otherwise causes world build failures for DISTROs without seccomp:
ERROR: Nothing PROVIDES 'libseccomp' (but meta-virtualization/recipes-extended/virtiofsd/virtiofsd_1.7.0.bb DEPENDS on or otherwise requires it) libseccomp was skipped: missing required distro feature 'seccomp' (not in
DISTRO_FEATURES)Signed-off-by Martin Jansa <[email protected]>--- recipes-extended/virtiofsd/virtiofsd_1.7.0.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)recipes-extended/virtiofsd/virtiofsd_1.7.0.bb +5
-2@@ -6,8 +6,11 @@ LIC_FILES_CHKSUM = " \ file://LICENSE-APACHE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://LICENSE-BSD-3-Clause;md5=b1ed361f9fc790c1054d81a7ef041a34 \ " -DEPENDS += "libseccomp" -DEPENDS += "libcap-ng" + +DEPENDS = "libseccomp libcap-ng" + +inherit features_check +REQUIRED_DISTRO_FEATURES = "seccomp" SRC_URI += "crate://crates.io/virtiofsd/1.7.0" SRC_URI[virtiofsd-1.7.0.sha256sum] = "6f043afa23aedbb18f36084b9df831796a9e4c62e73a16fe557de0cf30d7708d"Signature · 11 lines
2.42.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8264): https://lists.yoctoproject.org/g/meta-virtualization/message/8264 Mute This Topic: https://lists.yoctoproject.org/mt/101101651/1050810 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-