This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/meta-telephony/+/16671 ) Change subject: dahdi-linux: Fix build with poky pyro ...................................................................... dahdi-linux: Fix build with poky pyro bitbake/OE doesn't seem to like having PACKAGE_ARCH set to different values for different packages in the same recipe. When building ipk for dahdi-firmware (which was set to have different arch than the recipe), opkg-build cannot be found iduring do_package_ipk because PATH doesn't contain the machine-specific bin dir where opkg-build is copied (under recipe-sysroot-native). A possibility to keep dahdi-firmware allarch would be to split it into a separate .bb, but since the install process of firmware files is tightly coupled into the Makefile and arch-dependent binaries are used (such as objcopy), let's simply set it as MACHINE_ARCH, same as done for kernel modules. Kernel module packages are now suffixed with the kernel version in order to allow module packages from multiple kernel versions to co-exist on a target system. As a result, .ko files are not correctly installed into their respective kernel-module-* packages and hence those packages end up being empty and not created, and during image build it will fail because it cannot find the packages. Let's fix it by emptying KERNEL_MODULE_PACKAGE_SUFFIX as explained in yocto manual. Related: SYS#4760 Change-Id: I6b4802374194d0fb722d0c4fd8d6ed72cd468262 --- M recipes-isdn/dahdi-linux/dahdi-linux_2.10.2.bb 1 file changed, 1 insertion(+), 2 deletions(-) Approvals: pespin: Verified laforge: Looks good to me, approved diff --git a/recipes-isdn/dahdi-linux/dahdi-linux_2.10.2.bb b/recipes-isdn/dahdi-linux/dahdi-linux_2.10.2.bb index 122b819..6191338 100644 --- a/recipes-isdn/dahdi-linux/dahdi-linux_2.10.2.bb +++ b/recipes-isdn/dahdi-linux/dahdi-linux_2.10.2.bb @@ -132,9 +132,8 @@ kernel-module-xpd-fxs \ kernel-module-dahdi-vpmadt032-loader \ " - -PACKAGE_ARCH_dahdi-firmware = "all" PACKAGES =+ "dahdi-firmware ${DAHDI_KERNEL_MODULE}" +KERNEL_MODULE_PACKAGE_SUFFIX = "" FILES_${PN} = "${base_libdir}/modules/ ${sysconfdir}/udev/rules.d" FILES_dahdi-firmware = "${base_libdir}/firmware ${datadir}/dahdi ${libdir}/hotplug/firmware " -- To view, visit https://gerrit.osmocom.org/c/meta-telephony/+/16671 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: meta-telephony Gerrit-Branch: 201705 Gerrit-Change-Id: I6b4802374194d0fb722d0c4fd8d6ed72cd468262 Gerrit-Change-Number: 16671 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191223/40699ad3/attachment.htm>