Skip to content
Commit 750f4e17 authored by Alex Stewart's avatar Alex Stewart Committed by Steve Sakoman
Browse files

lsof: add update-alternatives logic



Some distributions (NI LinuxRT) provide both busybox-lsof and
full-featured lsof implementations. When users install the full-featured
lsof package, the full-binary fails to replace the bbox-binary in PATH,
because `lsof` contains no update-alternatives logic.

Inherit the update-alternatives bbclass and assert that the
full-featured lsof package has higher priority than the busybox
implementation.

Co-Authored-By: default avatarKyle Roeschley <kyle.roeschley@ni.com>
Signed-off-by: default avatarAlex Stewart <alex.stewart@ni.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e2893fa6)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 7a27f916
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment