package/pseudo: provide better legacy handling for fakeroot
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 8 Nov 2016 22:18:35 +0000 (23:18 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 9 Nov 2016 22:30:15 +0000 (23:30 +0100)
commit499f28fc7ce6184c8017ccd229ffc973a520adde
treeccfa771cf4ba720da34d913521febe336369f1be
parent74a3e75bb8208a8f3bb8426549fce1ea09b3be8a
package/pseudo: provide better legacy handling for fakeroot

We now have a wrapper that makes pseudo behaves like the fakeroot of the
good ol' days. So the symlink will just magically keep old scripts
working as they did before the switch to pseudo.

However, using fakeroot is deprecated, and we want people to stop using
it altogether and switch to pseudo.

So, make the wrapper recognise how it's called, and if called as
fakeroot, print a warning message.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gaƫl PORTAY <gael.portay@savoirfairelinux.com>
Cc: Patrick Keroulas <patrick.keroulas@savoirfairelinux.com>
Cc: Erico Nunes <nunes.erico@gmail.com>
Cc: Julien BOIBESSOT <julien.boibessot@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pseudo/pseudo-wrapper
package/pseudo/pseudo.mk