diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-28 15:37:35 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-30 18:10:16 +0200 |
commit | 4f90f55dc4eef8c5c9f91bc30fbdfb5f7d7fb49f (patch) | |
tree | 87e37ee1872589501e7e0c67f2edd6ad0fccac10 /package | |
parent | e95d333fc69f5045b50f41f16683d9f571a83f87 (diff) | |
download | buildroot-4f90f55dc4eef8c5c9f91bc30fbdfb5f7d7fb49f.tar.gz buildroot-4f90f55dc4eef8c5c9f91bc30fbdfb5f7d7fb49f.zip |
toolchain-external: fix getent installation with Codescape MIPS toolchains
When a toolchain is glibc based, the getent package assumes that
$(STAGING_DIR)/usr/bin contains the getent program. Unfortunately, the
Codescape MIPS toolchains do not conform with this:
$(STAGING_DIR)/usr/{bin,sbin} are empty, and instead three directories
are provided: bin-o32, bin-n32 and bin-n64 (ditto for sbin), one for
each supported MIPS ABI.
Since this is a toolchain-specific oddity, we handle it by adding a
post-install fixup hook that creates $(STAGING_DIR)/usr/{bin,sbin} as
symbolic link to the appropriate directory.
Fixes:
http://autobuild.buildroot.org/results/9c0ee836021553319f166f9de88750535aee0a58/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions