]> code.ossystems Code Review - openembedded-core.git/commit
xz: use update-alternatives
authorAllen Wild <allenwild93@gmail.com>
Sun, 6 May 2018 23:00:02 +0000 (19:00 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2018 09:00:27 +0000 (10:00 +0100)
commite48cd8423562d4b03bdf55ba04873b7582f12452
tree5c40a5b81d57e75ec5b7298df74ace3feeb6c973
parent81dc858a24cc5b5dc547356eb22f00dde9801b6f
xz: use update-alternatives

Installing xz and busybox together may cause conflicts for xz, xzcat,
unxz, and their lzma variants. In the default configuration, xzcat is
silently replaced with a symlink to busybox. If busybox is compiled with
CONFIG_XZ=y, its postinst fails during do_rootfs.

Using update-alternatives to xz handles these conflicts properly.

Signed-off-by: Allen Wild <allenwild93@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/xz/xz_5.2.3.bb