diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-11-06 19:54:42 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-11-06 12:58:20 -0700 |
commit | d6b4f9b46081e28fe8771919525b184a59854282 (patch) | |
tree | 28689d517560b9540a72084e01d07fd85c4cd68d | |
parent | 1c1670a8c4b495b0e2cd1db282a935da3f396207 (diff) | |
download | meta-openembedded-d6b4f9b46081e28fe8771919525b184a59854282.tar.gz |
ntpsec: require x11 in DISTRO_FEATURES
* fixes:
ERROR: Nothing RPROVIDES 'gnuplot' (but meta-openembedded/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb RDEPENDS on or otherwise requires it)
gnuplot was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
NOTE: Runtime target 'gnuplot' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gnuplot']
NOTE: Runtime target 'ntpsec' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['ntpsec', 'gnuplot']
NOTE: Runtime target 'ntpsec-python' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['ntpsec-python', 'gnuplot']
ERROR: Nothing RPROVIDES 'ntpsec-dev' (but meta-openembedded/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'ntpsec-dev'
NOTE: Runtime target 'ntpsec-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['ntpsec-dev']
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb | 2 | ||||
-rw-r--r-- | meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb index 3e3297c262..a539dfeb6c 100644 --- a/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +++ b/meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb | |||
@@ -217,7 +217,7 @@ RDEPENDS:packagegroup-meta-networking-support = "\ | |||
217 | yp-tools \ | 217 | yp-tools \ |
218 | mtr \ | 218 | mtr \ |
219 | ntp ntpdate sntp ntpdc ntpq ntp-tickadj ntp-utils \ | 219 | ntp ntpdate sntp ntpdc ntpq ntp-tickadj ntp-utils \ |
220 | ntpsec \ | 220 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "ntpsec", "", d)} \ |
221 | nbd-client \ | 221 | nbd-client \ |
222 | nbd-server \ | 222 | nbd-server \ |
223 | nbd-trdump \ | 223 | nbd-trdump \ |
diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb index 167af04ca4..d07cac4265 100644 --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.1.bb | |||
@@ -17,7 +17,10 @@ SRC_URI = "https://ftp.ntpsec.org/pub/releases/ntpsec-${PV}.tar.gz \ | |||
17 | 17 | ||
18 | SRC_URI[sha256sum] = "f2684835116c80b8f21782a5959a805ba3c44e3a681dd6c17c7cb00cc242c27a" | 18 | SRC_URI[sha256sum] = "f2684835116c80b8f21782a5959a805ba3c44e3a681dd6c17c7cb00cc242c27a" |
19 | 19 | ||
20 | inherit pkgconfig python3-dir python3targetconfig systemd update-alternatives update-rc.d useradd waf | 20 | inherit pkgconfig python3-dir python3targetconfig systemd update-alternatives update-rc.d useradd waf features_check |
21 | |||
22 | # RDEPENDS on gnuplot with this restriction | ||
23 | REQUIRED_DISTRO_FEATURES = "x11" | ||
21 | 24 | ||
22 | PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'seccomp systemd', d)} \ | 25 | PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'seccomp systemd', d)} \ |
23 | cap \ | 26 | cap \ |