From 76db1c71ef8fc6e6f521f921b3361b37d96e6e3c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 29 Mar 2020 15:58:54 -0700 Subject: [PATCH] debsums: Depend on po4a-native - Move to perl dynamic-layer since po4a comes from meta-perl - Add meta-perl dynamic layer Fixes cd man && po4a --no-translations po4a.cfg /bin/sh: po4a: command not found make: *** [Makefile:11: clean] Error 127 Signed-off-by: Khem Raj --- meta-oe/conf/layer.conf | 4 +++- .../perl-layer}/recipes-support/debsums/debsums_2.2.2.bb | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) rename meta-oe/{ => dynamic-layers/perl-layer}/recipes-support/debsums/debsums_2.2.2.bb (99%) diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index 434537fd3a..adcec83029 100644 --- a/meta-oe/conf/layer.conf +++ b/meta-oe/conf/layer.conf @@ -25,7 +25,9 @@ BBFILE_PRIORITY_openembedded-layer = "6" # only activates content when identified layers are present, # to ensure yocto compatibility check pass -BBFILES_DYNAMIC += "meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ +BBFILES_DYNAMIC += " \ +meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ +perl-layer:${LAYERDIR}/dynamic-layers/perl-layer/recipes-*/*/*.bb \ " # This should only be incremented on significant changes that will diff --git a/meta-oe/recipes-support/debsums/debsums_2.2.2.bb b/meta-oe/dynamic-layers/perl-layer/recipes-support/debsums/debsums_2.2.2.bb similarity index 99% rename from meta-oe/recipes-support/debsums/debsums_2.2.2.bb rename to meta-oe/dynamic-layers/perl-layer/recipes-support/debsums/debsums_2.2.2.bb index 13f20eb944..07ab5e62b1 100644 --- a/meta-oe/recipes-support/debsums/debsums_2.2.2.bb +++ b/meta-oe/dynamic-layers/perl-layer/recipes-support/debsums/debsums_2.2.2.bb @@ -20,6 +20,8 @@ UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/" inherit perlnative gettext +DEPENDS += "po4a-native" + do_install() { install -d ${D}/${sysconfdir}/cron.daily ${D}/${sysconfdir}/cron.weekly install -d ${D}/${sysconfdir}/cron.monthly ${D}${sbindir} ${D}${bindir}