[OE-core] [PATCH] util-linux: Use PCRE for hardlink

Richard Purdie richard.purdie at linuxfoundation.org
Wed Dec 4 20:00:43 UTC 2019


On Wed, 2019-12-04 at 11:32 -0800, Khem Raj wrote:
> Use PCRE, this enables using posix extended Regexps on cmdline
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-core/util-linux/util-linux.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/util-linux/util-linux.inc
> b/meta/recipes-core/util-linux/util-linux.inc
> index 1fa82363b1..8f867aa9b4 100644
> --- a/meta/recipes-core/util-linux/util-linux.inc
> +++ b/meta/recipes-core/util-linux/util-linux.inc
> @@ -20,7 +20,7 @@ LIC_FILES_CHKSUM = "
> file://README.licensing;md5=972a134f1e14b2b060e365df2fab0099
>  
>  #gtk-doc is not enabled as it requires xmlto which requires util-
> linux
>  inherit autotools gettext manpages pkgconfig systemd update-
> alternatives python3-dir bash-completion ptest
> -DEPENDS = "libcap-ng ncurses virtual/crypt zlib"
> +DEPENDS = "libcap-ng ncurses virtual/crypt zlib libpcre2"
>  
>  MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
>  SRC_URI =
> "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${MAJOR_VERSION}/${BP}.tar.x
> z \

Given it works today without that, shouldn't it be a PACKAGECONFIG?

Cheers,

Richard



More information about the Openembedded-core mailing list