Make /sysroot path configurable.
authorRichard Jones <rjones@trick.home.annexia.org>
Sat, 18 Jul 2009 09:43:52 +0000 (10:43 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Sat, 18 Jul 2009 09:43:52 +0000 (10:43 +0100)
commit78029b529ad98769685d607230b70f71832d5906
treef103cb7252ccca7efc3e39f4400f961d5972937c
parente8c954933b2bfb3bc3ead5a151d49d164f1a8eab
Make /sysroot path configurable.

Currently /sysroot is hard-coded throughout the daemon code.

This patch turns the path into a variable so that we can change
it in future, for example to allow standalone mode to be implemented.

This patch was tested by running all the C API tests successfully.
21 files changed:
daemon/augeas.c
daemon/checksum.c
daemon/cmp.c
daemon/command.c
daemon/cpmv.c
daemon/daemon.h
daemon/dir.c
daemon/du.c
daemon/file.c
daemon/find.c
daemon/grub.c
daemon/guestfsd.c
daemon/headtail.c
daemon/hexdump.c
daemon/initrd.c
daemon/ls.c
daemon/mount.c
daemon/scrub.c
daemon/strings.c
daemon/tar.c
daemon/wc.c