On Wed, May 22, 2019 at 01:03:37PM +0200, Martin Jansa wrote: > This pulls bc to many images with busybox, causing busybox postinst to fail > with: > > update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid > since /usr/bin/bc exists and is not a link
Are you enabling CONFIG_BC in your busybox config? It is not enabled in meta/recipes-core/busybox/busybox/defconfig > I'll check which busybox defconfig entry enables BC and send patch to use > u-a for bc in ./meta/recipes-extended/bc/bc_1.07.1.bb > > There already is: > ALTERNATIVE_${PN} = "dc" > ALTERNATIVE_PRIORITY = "100" > but maybe dc is a typo. bc and dc are two different binaries built from bc. busybox used to only have dc, bc was added 6 months ago. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core