]> code.ossystems Code Review - openembedded-core.git/commit
util-linux: fix register location for rfkill to avoid conflict
authorChen Qi <Qi.Chen@windriver.com>
Thu, 23 Nov 2017 05:55:40 +0000 (13:55 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Dec 2017 11:24:38 +0000 (11:24 +0000)
commite01107c5da395a32f9a017f8ee8cc8421c5671e0
tree929a0a3c9f50d330b2294d1f94b57452c5f3833e
parent867ac1370b294bfd1ee31f94abb63688f77081a1
util-linux: fix register location for rfkill to avoid conflict

If we have 'wifi' in distro feature, then busybox would have rfkill
enabled. And we would have the following do_rootfs failure if we
install both busybox and util-linux-rfkill.

  Error: cannot register alternative rfkill to /usr/bin/rfkill since
  it is already registered to /usr/sbin/rfkill.

There's another provider of rfkill in OE, that is rfkill recipe in meta-oe.
And it also registers rfkill to ${sbindir}/rfkill.

So change the register location of rfkill in util-linux to avoid
conflict with busybox and rfkill recipes.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/util-linux/util-linux.inc