diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2018-10-05 12:05:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-09 12:02:41 +0100 |
commit | 94e3fdff76452d3acde42b164d3ffa6b72540a40 (patch) | |
tree | afdaef0180c09ddd872672904f95bd62d5230643 /scripts/lib/devtool/upgrade.py | |
parent | 99b74d1ff23ef91c84dc81ecf6437ad3bc37fb64 (diff) | |
download | openembedded-core-94e3fdff76452d3acde42b164d3ffa6b72540a40.tar.gz openembedded-core-94e3fdff76452d3acde42b164d3ffa6b72540a40.tar.bz2 openembedded-core-94e3fdff76452d3acde42b164d3ffa6b72540a40.zip |
util-linux: Use update-alternatives for fsfreeze, nsenter
busybox may also provide a fsfreeze and nsenter implementation,
so use u-a to allow installing them side by side.
If one installs both, busybox and util-linux, one gets the following error
(seen on a populate-sdk run):
| ERROR: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
| then please place them into pkg_postinst_ontarget_${PN} ().
| Deferring to first boot via 'exit 1' is no longer supported.
And the coresponding do_populate_sdk extract:
| ...
| update-alternatives: Error: not linking ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| to /bin/busybox.nosuid /bin/busybox.nosuid since ...sdk/image/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/sbin/fsfreeze
| exists and is not a link
| ...
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
0 files changed, 0 insertions, 0 deletions