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:
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))
|
||||
|
Loading…
Reference in New Issue
Block a user