[OE-core] [PATCH] util-linux: make alternatives for rev and ionice work with busybox

Burton, Ross ross.burton at intel.com
Fri Nov 9 00:24:02 UTC 2018


On Thu, 8 Nov 2018 at 10:58, Pascal Bach <pascal.bach at siemens.com> wrote:
> Busybox can provide ionice and rev. They are both installed to /bin
> The corresponding util-linux variant is installed to /usr/bin
>
> This causes the following error during the do_rootfs task:
>
> > update-alternatives: renaming ionice link from /bin/ionice to /usr/bin/ionice
> > mv: cannot stat '/bin/ionice': No such file or directory
>
> Moving the util-linux binaries to /bin avoids this error.

Isn't it simpler to just set ALTERNATIVE_LINK_NAME[ionice] =
"${base_bindir}/ionice" (so the system knows to use the same symlink
for this and busybox) instead of actually moving the binary too?

Ross


More information about the Openembedded-core mailing list