From 0c4d9a8268561154b784bca595b65589f1f259d1 Mon Sep 17 00:00:00 2001 From: Holger Dengler Date: Thu, 7 Dec 2017 11:06:03 +0100 Subject: util-linux: Fix package name extension Yocto (pyro) uses the character "_" to separate the package name from the version number. If this character is used in the package name or in a package name extension, the build will fail. Replacing the "_" with one of the allowed characters fixes the problem. Signed-off-by: Holger Dengler --- meta-integrity/recipes-base/packagegroups/packagegroup-ima.bb | 2 +- meta-integrity/recipes-core/util-linux/util-linux_%.bbappend | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-integrity/recipes-base/packagegroups/packagegroup-ima.bb b/meta-integrity/recipes-base/packagegroups/packagegroup-ima.bb index b9a87ad..c9a99bd 100644 --- a/meta-integrity/recipes-base/packagegroups/packagegroup-ima.bb +++ b/meta-integrity/recipes-base/packagegroups/packagegroup-ima.bb @@ -9,7 +9,7 @@ DEPENDS += "\ RDEPENDS_${PN} += "\ attr \ - util-linux-switch_root.static \ + util-linux-switch-root.static \ " # Note any private key is not available if user key signing model used. diff --git a/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend b/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend index 9634f4b..954183c 100644 --- a/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend +++ b/meta-integrity/recipes-core/util-linux/util-linux_%.bbappend @@ -12,6 +12,6 @@ do_install_append_class-target() { "${D}${sbindir}/switch_root.static" } -PACKAGES =+ "${PN}-switch_root.static" +PACKAGES =+ "${PN}-switch-root.static" -FILES_${PN}-switch_root.static = "${sbindir}/switch_root.static" +FILES_${PN}-switch-root.static = "${sbindir}/switch_root.static" -- cgit v1.2.3-54-g00ecf