[oe] [meta-integrity][PATCH] util-linux: fix compile issue with ipk packaging

Zhenbo Gao zhenbo.gao at windriver.com
Wed Oct 25 07:59:30 UTC 2017


opkg-build has its rules for package names which should
not contain capital letters or underscores, so use character
hyphen instead of underscore to make opkg-build happy.

Signed-off-by: Zhenbo Gao <zhenbo.gao at windriver.com>
---
 recipes-core/util-linux/util-linux_%.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-core/util-linux/util-linux_%.bbappend b/recipes-core/util-linux/util-linux_%.bbappend
index 62e22a1..17f17a0 100644
--- a/recipes-core/util-linux/util-linux_%.bbappend
+++ b/recipes-core/util-linux/util-linux_%.bbappend
@@ -2,7 +2,7 @@
 # Copyright (C) 2017 Wind River Systems, Inc.
 #
 
-PACKAGES =+ "${PN}-switch_root.static"
+PACKAGES =+ "${PN}-switch-root.static"
 
 CFLAGS_remove += "-pie -fpie"
 
@@ -17,4 +17,4 @@ do_install_append_class-target() {
     install -m 0700 ${B}/switch_root.static ${D}${sbindir}/switch_root.static
 }
 
-FILES_${PN}-switch_root.static = "${sbindir}/switch_root.static"
+FILES_${PN}-switch-root.static = "${sbindir}/switch_root.static"
-- 
1.9.1




More information about the Openembedded-devel mailing list