Bug 7225 - readprofile alternative location conflict between busybox and util-linux
Summary: readprofile alternative location conflict between busybox and util-linux
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.8
Hardware: All Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-21 17:05 UTC by Philip Lorenz
Modified: 2015-01-30 04:05 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Lorenz 2015-01-21 17:05:05 UTC
busybox installs the "readprofile" symlink to ${sbindir} while util-linux installs it to ${base_sbindir}. 

When installing both packages, "update-alternatives" fails with the following output:

update-alternatives: Error: cannot register alternative readprofile to /usr/sbin/readprofile since it is already registered to /sbin/readprofile

This can be fixed by choosing the same alternative path for both packages.
Comment 1 Saul Wold 2015-01-30 04:05:57 UTC
git.yoctoproject.org/cgit/cgit.cgi/pokya/commit/?id=2b7d3110fc8e7c406cf3e14a3a122de3b22a2a73