mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
meta: remove True option to getVar calls (again)
* True is default since 2016 and most layers were already updated not to pass this parameter where not necessary, e.g. oe-core was updated couple times, first in: https://git.openembedded.org/openembedded-core/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f Updated with the same regexp as later oe-core update: https://git.openembedded.org/openembedded-core/commit/?id=9f551d588693328e4d99d33be94f26684eafcaba Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ do_install() {
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
python do_package:prepend() {
|
||||
d.setVar('PKGV', d.getVar("KERNEL_VERSION", True).split("-")[0])
|
||||
d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])
|
||||
}
|
||||
|
||||
B = "${WORKDIR}/${BPN}-${PV}"
|
||||
|
||||
@@ -65,5 +65,5 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
# Even though the libusbip is set to version 0.0.1, set the package version to match kernel
|
||||
# e.g. usbip-tools-5.14.21-r0.qemux86_64.rpm for qemu package using kernel 5.14.21
|
||||
python do_package:prepend() {
|
||||
d.setVar('PKGV', d.getVar("KERNEL_VERSION", True).split("-")[0])
|
||||
d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])
|
||||
}
|
||||
Reference in New Issue
Block a user