Skip to contentSkip to conversation

util-linux: fix compile issue with ipk packaging

PATCH New Zhenbo Gao 1 participant 1 message Oct 25, 2017

lore
Share & tools
lore

Zhenbo Gao

author
#0 lore raw

PATCH 1/1 util-linux: fix compile issue with ipk packaging

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.

---
 recipes-core/util-linux/util-linux_%.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/util-linux/util-linux_%.bbappend +2 -2
index 62e22a1..17f17a0 100644
@@ -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"
Signature · 1 line
1.9.1