xz: use ALTERNATIVES instead of copying symlinks
authorDaniel Golle <daniel@makrotopia.org>
Fri, 20 Nov 2020 03:27:18 +0000 (03:27 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 20 Nov 2020 03:33:54 +0000 (03:33 +0000)
commitbb704ffd4cd65fac3db2b323454b9a7e7c9e0302
treee5ab5e0763e328ac741b4914b807680c4d27fc0f
parent70e4e8578864f003a4e0e6daddb174b1f7252737
xz: use ALTERNATIVES instead of copying symlinks

Installing the 'xz' package currently leads to file collisions:
Collected errors:
 * check_data_file_clashes: Package xz wants to install file /usr/bin/unxz
        But that file is already provided by package  * busybox
 * check_data_file_clashes: Package xz wants to install file /usr/bin/xz
        But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package debootstrap.

Fix that by switching to use ALTERNATIVES for all multicall commands
instead of copying the symlinks into the package.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/xz/Makefile