util-linux: fix compile issue with ipk packaging
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.
Signed-off-by Zhenbo Gao <[email protected]>
--- recipes-core/util-linux/util-linux_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-core/util-linux/util-linux_%.bbappend +2 -2
@@ -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