Don't attempt to use chroot() on systems that don't support it.
authorJ. Ali Harlow <ali@juiblex.co.uk>
Thu, 8 Jan 2009 14:35:18 +0000 (14:35 +0000)
committerJ. Ali Harlow <ali@juiblex.co.uk>
Thu, 8 Jan 2009 14:35:18 +0000 (14:35 +0000)
commit17e6ba68d6d41f30cce566fe96033e4683f2f164
tree2b80292e049d77808d6e052d662786e10393aa39
parent665326206286d677d1e847ce29e5b712b5cadee2
Don't attempt to use chroot() on systems that don't support it.

This has the added bonus of allowing us to use popen() rather than
fork()/exec() for improved portability. Of course, the loss of an
install root is a major reduction of functionality but it's hard to
see what else we could substitute for chroot().
configure.ac
librazor/rpm.c