On 06/28/2018 07:49 PM, Otavio Salvador wrote: > On Thu, Jun 28, 2018 at 12:33 PM, Mihai Lindner <[email protected]> wrote: >> This patch seems to break building images that use systemd as >> init-manager, dtc-145 conflicts with the actual dtc package. Maybe a bit >> late, as this already landed in master. >> >> Somehow, I'm guessing that through PACKAGE_WRITE_DEPS, systemd pulls in >> qemu, which pulls dtc, and u-boot-imx pulls in dtc-145, resulting in >> "FileExistsError: [Errno 17] File exists" at do_image_wic. >> >> Can this be done by having dtc with 1.4.5 as a version, and setting it >> as preferred in our environment? Or maybe other solutions to this. > > We can rename the binary to dtc-145 and patch U-Boot to use it. Mind > to prepare a patch? >
Digging further into this, I don't think that binary renaming is needed, handling the recipe another way will do fine. The actual issue here is that we introduce "dtc-145" as a new recipe, with version "git", not as version 1.4.5 of dtc. Also, this change might need to be done differently in sumo vs. master. Actually, not at all in sumo, because dtc is already at version 1.4.5 in poky. I've just sent a patch for this. In master, the recipe needs to be handled normally just lower the version and set it as preferred, maybe in fsl-default-versions.inc. I'm still working on this one. Thanks, Mihai -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
