Skip to content

Commit 128e694

Browse files
author
Alex J Lennon
committed
zigbee: Revert /usr/bin installation to fix packaging error
- Remove attempt to install Zigbee apps to /usr/bin - The base NXP SDK likely doesn't include zb_cli in the bin/ directory - Keep existing functionality with simple_gw_zc in /usr/bin via zigbee-rcp-apps - Avoids creating empty /usr/bin directory that causes packaging errors
1 parent 85a9897 commit 128e694

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

bbappends/meta-nxp-zigbee-rcp/recipes-zigbee-rcp/recipes-zigbee-rcp-sdk/zigbee-rcp-sdk.bbappend

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ do_install:append:imx8mm-jaguar-sentai() {
1414
install -m 0744 ${S}/zb_mux.sh ${D}${sbindir}
1515
install -m 0744 ${S}/scripts/*.sh ${D}${sbindir}
1616

17-
# Install all available Zigbee applications to /usr/bin for easier access
18-
install -d ${D}${bindir}
19-
for app in ${S}/bin/*; do
20-
if [ -f "$app" ] && [ -x "$app" ] && [ "$(basename "$app")" != "zb_mux" ]; then
21-
install -m 0755 "$app" ${D}${bindir}
22-
fi
23-
done
2417

2518
install -d ${D}/etc/default
2619
install -m 0644 ${S}/zb_app.env ${D}/etc/default
@@ -37,5 +30,3 @@ SYSTEMD_AUTO_ENABLE:${PN}:imx8mm-jaguar-sentai = "enable"
3730

3831
RDEPENDS:${PN}:imx8mm-jaguar-sentai += " bash"
3932

40-
# Include /usr/bin in the package files for Zigbee applications
41-
FILES:${PN}:append:imx8mm-jaguar-sentai = " ${bindir}/*"

0 commit comments

Comments
 (0)