Skip to contentSkip to conversation

util-linux: Use PCRE for hardlink

PATCH Superseded Khem Raj 2 participants 7 messages Dec 4, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 util-linux: Use PCRE for hardlink

Use PCRE, this enables using posix extended Regexps on cmdline

---
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/util-linux/util-linux.inc +1 -1
index 1fa82363b1..8f867aa9b4 100644
@@ -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.xz \
Signature · 1 line
2.24.0
#1 lore raw
Quoted 24 lines · Khem Raj

Use PCRE, this enables using posix extended Regexps on cmdline

---
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/util-linux/util-linux.inc +0 -0
index 1fa82363b1..8f867aa9b4 100644
@@ -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

meta/recipes-core/util-linux/util-linux.inc +1 -1
-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 =
Quoted 2 lines

"${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

author
#2 lore raw
Quoted 24 lines · Richard Purdie
Quoted 22 lines · Khem Raj

Use PCRE, this enables using posix extended Regexps on cmdline

---
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/util-linux/util-linux.inc +0 -0
index 1fa82363b1..8f867aa9b4 100644
@@ -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

meta/recipes-core/util-linux/util-linux.inc +1 -1
-DEPENDS = "libcap-ng ncurses virtual/crypt zlib"
+DEPENDS = "libcap-ng ncurses virtual/crypt zlib libpcre2"
Quoted 6 lines
Quoted 4 lines

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?

its default with other main linux distros. I thought since what we were doing was not
default, I did not see a need for packageconfig. I can certain do a v2 with packageconfig
and enabling it by default, is that better ?

Quoted 5 lines

Cheers,

Richard

#3 lore raw
Quoted 34 lines · Khem Raj
Quoted 24 lines · Richard Purdie
Quoted 23 lines · Khem Raj

Use PCRE, this enables using posix extended Regexps on cmdline

---
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/util-linux/util-linux.inc +0 -0
index 1fa82363b1..8f867aa9b4 100644
@@ -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

meta/recipes-core/util-linux/util-linux.inc +1 -1
-DEPENDS = "libcap-ng ncurses virtual/crypt zlib"
+DEPENDS = "libcap-ng ncurses virtual/crypt zlib libpcre2"
Quoted 7 lines
Quoted 5 lines

MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" SRC_URI =
"${KERNELORG_MIRROR}/linux/utils/${BPN}/v${MAJOR_VERSION}/${BP}.t ar.x
z \

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

Quoted 4 lines

its default with other main linux distros. I thought since what we were doing was not
default, I did not see a need for packageconfig. I can certain do a v2 with packageconfig and enabling it by default, is that better ?

We're embedded so we're supposed to expose this kind of config and tend to the more minimal ;-)

Cheers,

Richard

author
#4 lore raw
Quoted 36 lines · Richard Purdie
Quoted 34 lines · Khem Raj
Quoted 31 lines · Richard Purdie
Quoted 25 lines · Khem Raj

Use PCRE, this enables using posix extended Regexps on cmdline

---
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/util-linux/util-linux.inc +0 -0
index 1fa82363b1..8f867aa9b4 100644
@@ -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

meta/recipes-core/util-linux/util-linux.inc +1 -1
-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 =
Quoted 3 lines

"${KERNELORG_MIRROR}/linux/utils/${BPN}/v${MAJOR_VERSION}/${BP}.t ar.x
z \

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

Quoted 7 lines
Quoted 4 lines

its default with other main linux distros. I thought since what we were doing was not
default, I did not see a need for packageconfig. I can certain do a v2 with packageconfig and enabling it by default, is that better ?

We're embedded so we're supposed to expose this kind of config and tend to the more minimal ;-)

I was more looking into native and nativesdk variants where this could be more important.

Quoted 5 lines

Cheers,

Richard

#5 lore raw
Quoted 49 lines · Khem Raj
Quoted 47 lines · Richard Purdie
Quoted 45 lines · Khem Raj
Quoted 25 lines · Richard Purdie
Quoted 24 lines · Khem Raj

Use PCRE, this enables using posix extended Regexps on cmdline

---
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/util-linux/util-linux.inc +0 -0
index 1fa82363b1..8f867aa9b4 100644
@@ -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

meta/recipes-core/util-linux/util-linux.inc +1 -1
-DEPENDS = "libcap-ng ncurses virtual/crypt zlib"
+DEPENDS = "libcap-ng ncurses virtual/crypt zlib libpcre2"
Quoted 10 lines
Quoted 7 lines

MAJOR_VERSION =
"${@'.'.join(d.getVar('PV').split('.')[0:2])}"
SRC_URI =
"${KERNELORG_MIRROR}/linux/utils/${BPN}/v${MAJOR_VERSION}/${B P}.t
ar.x
z \

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

its default with other main linux distros. I thought since what we
were doing was not
default, I did not see a need for packageconfig. I can certain do a
v2 with packageconfig and enabling it by default, is that better ?

Quoted 6 lines
Quoted 3 lines

We're embedded so we're supposed to expose this kind of config and tend
to the more minimal ;-)

I was more looking into native and nativesdk variants where this could be more important.

Sure, but your patch changes the target version too...

Cheers,

Richard

author
#6 lore raw
Quoted 51 lines · Richard Purdie
Quoted 49 lines · Khem Raj
Quoted 47 lines · Richard Purdie
Quoted 45 lines · Khem Raj
Quoted 25 lines · Richard Purdie
Quoted 24 lines · Khem Raj

Use PCRE, this enables using posix extended Regexps on cmdline

---
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/util-linux/util-linux.inc +0 -0
index 1fa82363b1..8f867aa9b4 100644
@@ -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

meta/recipes-core/util-linux/util-linux.inc +1 -1
-DEPENDS = "libcap-ng ncurses virtual/crypt zlib"
+DEPENDS = "libcap-ng ncurses virtual/crypt zlib libpcre2"
Quoted 10 lines
Quoted 7 lines

MAJOR_VERSION =
"${@'.'.join(d.getVar('PV').split('.')[0:2])}"
SRC_URI =
"${KERNELORG_MIRROR}/linux/utils/${BPN}/v${MAJOR_VERSION}/${B P}.t
ar.x
z \

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

its default with other main linux distros. I thought since what we
were doing was not
default, I did not see a need for packageconfig. I can certain do a
v2 with packageconfig and enabling it by default, is that better ?

Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

We're embedded so we're supposed to expose this kind of config and tend
to the more minimal ;-)

I was more looking into native and nativesdk variants where this could be more important.

Sure, but your patch changes the target version too...

sent a v2

Quoted 4 lines

Cheers,

Richard