package/util-linux: adjust paths for merged-bin

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
Yann E. MORIN
2025-09-01 11:01:24 +02:00
committed by Romain Naour
parent 18107d6353
commit 7f0fdc9603

View File

@@ -75,7 +75,13 @@ endif
# ${usrlib_execdir} (/usr/lib) to ${libdir} (/lib), since both paths are
# the same when merged usr is in use.
ifeq ($(BR2_ROOTFS_MERGED_USR),y)
UTIL_LINUX_CONF_OPTS += --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib
UTIL_LINUX_CONF_OPTS += --bindir=/usr/bin --libdir=/usr/lib
# Ditto for /usr/sbin and /usr/bin when merge sbin is in use
ifeq ($(BR2_ROOTFS_MERGED_BIN),y)
UTIL_LINUX_CONF_OPTS += --sbindir=/usr/bin
else
UTIL_LINUX_CONF_OPTS += --sbindir=/usr/sbin
endif
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)