mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -09:00
package/coreutils: no need for chroot workaround with 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:
committed by
Romain Naour
parent
e38cd466c7
commit
bb0fd62f30
@@ -125,6 +125,7 @@ define COREUTILS_CREATE_TEST_SYMLINK
|
||||
endef
|
||||
COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_CREATE_TEST_SYMLINK
|
||||
|
||||
ifeq ($(BR2_ROOTFS_MERGED_BIN),)
|
||||
# gnu thinks chroot is in bin, debian thinks it's in sbin
|
||||
ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y)
|
||||
define COREUTILS_FIX_CHROOT_LOCATION
|
||||
@@ -137,6 +138,7 @@ define COREUTILS_FIX_CHROOT_LOCATION
|
||||
endef
|
||||
endif
|
||||
COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_FIX_CHROOT_LOCATION
|
||||
endif
|
||||
|
||||
# Explicitly install ln and realpath, which we *are* insterested in.
|
||||
# A lot of other programs still get installed, however, but disabling
|
||||
|
||||
Reference in New Issue
Block a user