On Mon, Mar 31, 2008 at 5:12 PM, Bryan Kadzban
<[EMAIL PROTECTED]> wrote:
> But any kind of DESTDIR type
> setup would require it, if the package's "make install" is run as a
> non-root user.
fakeroot is not an absolute requirement for install-root style PM. I
use the following wrappers to avoid using fakeroot.
chgrp | chown )
$RealCommand "$@"
exit 0
;;
install )
args=""
# Consume parameters that we don't want executed
until [ -z "$1" ]
do
case "$1" in
-c )
shift 1
;;
-o|-g|-O|-G|--owner|--group )
shift 2
;;
--owner=*|--group=* )
shift 1
;;
* )
args="$args $1"
shift 1
;;
esac
done
$RealCommand $args
exit $?
;;
ldconfig )
$RealCommand "$@" 2>/dev/null >/dev/null
# Remove the old cache file
rm -f $FakeInstallDir/etc/ld.so.cache*
exit 0
;;
--
Tushar Teredesai
mailto:[EMAIL PROTECTED]
http://www.linuxfromscratch.org/~tushar/
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page