diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-05-31 22:34:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-01 14:03:49 +0100 |
commit | 0b94e36b5fa868183394315e36a2bc6356af0fa8 (patch) | |
tree | bc8fda830c1670d6f859c35992eadff98dab535e /meta/recipes-core/util-linux/util-linux.inc | |
parent | 75f691d728dba4de53f89cd7ce1cdb69e35000cf (diff) | |
download | poky-0b94e36b5fa868183394315e36a2bc6356af0fa8.tar.gz |
util-linux.inc: Do not modify BPN
Changing BPN to be "util-linux" regardless if it is the util-linux
recipe or the util-linux-libuuid recipe that is being built was an
easy way to allow ${BPN} and ${BP} to be used in the SRC_URI for both
recipes. However, it causes problems for native.bbclass where there
are expectations that ${BPN} and ${PN} match each other.
Use "util-linux" directly in the SRC_URI instead to avoid the problem.
(From OE-Core rev: 701ef7ff0e1b17150424a64acfafbb83f518f9c9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux.inc')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index cbf6102ee0..6b47f417aa 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -27,8 +27,7 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=0fd5c050c6187d2bf0a4492b7f4e33da | |||
27 | 27 | ||
28 | FILESEXTRAPATHS_prepend := "${THISDIR}/util-linux:" | 28 | FILESEXTRAPATHS_prepend := "${THISDIR}/util-linux:" |
29 | MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" | 29 | MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" |
30 | BPN = "util-linux" | 30 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.xz \ |
31 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${MAJOR_VERSION}/${BP}.tar.xz \ | ||
32 | file://configure-sbindir.patch \ | 31 | file://configure-sbindir.patch \ |
33 | file://runuser.pamd \ | 32 | file://runuser.pamd \ |
34 | file://runuser-l.pamd \ | 33 | file://runuser-l.pamd \ |