util-linux: Use PCRE for hardlink
PATCH v2 1/1 util-linux: Use PCRE for hardlink
Use PCRE, this enables using posix extended Regexps on cmdline
Signed-off-by Khem Raj <[email protected]>
---
v2: Turn it into packageconfig and enable it for native/nativesdk alone
meta/recipes-core/util-linux/util-linux.inc | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-core/util-linux/util-linux.inc +3 -0
@@ -106,6 +106,7 @@ EXTRA_OECONF_append_class-target = " --enable-setpriv" EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv" +PACKAGECONFIG ?= "pcre2" PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" # inherit manpages requires this to be present, however util-linux does not have # configuration options, and installs manpages always
@@ -117,6 +118,8 @@ PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_s PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" # Readline support PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" +# PCRE support in hardlink +PACKAGECONFIG[pcre2] = ",,libpcre2" EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'"
Signature · 1 line
2.24.0