util-linux: explicitly use /usr/{bin, sbin, lib}, with merged usr
authorCarlos Santos <casantos@datacom.ind.br>
Thu, 9 Nov 2017 00:05:33 +0000 (22:05 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Nov 2017 21:46:06 +0000 (22:46 +0100)
commit099c2ceaa8adfcdcbbaf039000e1fe26a33a6165
tree051da673c699097d85197b2c523a29e92797e0b2
parent273aad9e507eedf5245a004be8f7372a7c4d5ca7
util-linux: explicitly use /usr/{bin, sbin, lib}, with merged usr

Prevent the installation from attempting to move shared libraries from
${usrlib_execdir} to ${libdir} if both paths are the same, which leads
to error messages like this:

  mv: '$(TARGET_DIR)/usr/lib/libfoo.so.1' and '$(TARGET_DIR)/lib/libfoo.so.1' are the same file

That error is not fatal but let's avoid possible future problems.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/util-linux/util-linux.mk