mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/pseudo: add a legacy symlink to emulate fakeroot
In case some post-image script want to call fakeroot, add a symlink to use pseudo instead. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
d5ed7fcad1
commit
7158403805
@@ -20,4 +20,9 @@ HOST_PSEUDO_CONF_OPTS = \
|
||||
--libdir=$(HOST_DIR)/usr/lib \
|
||||
--with-sqlite=$(HOST_DIR)/usr
|
||||
|
||||
define HOST_PSEUDO_FAKEROOT_SYMLINK
|
||||
ln -sf pseudo $(HOST_DIR)/usr/bin/fakeroot
|
||||
endef
|
||||
HOST_PSEUDO_POST_INSTALL_HOOKS += HOST_PSEUDO_FAKEROOT_SYMLINK
|
||||
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user