diskimage-builder/lib
Lucas Alvares Gomes e537e046d1 Force the inclusion of /usr/local/bin in PATH.
Sudo compiled with the --with-secure-path option enabled (default on
Ubuntu, Fedora and potentially other distros) will cause sudo to ignore
any changes made to the PATH variable in the user's environment (even when
the -E option is used). Also, some distros might not have /usr/local/bin
set in their sudoers secure_path causing the diskimage-builder to fail
when building an image using such distros as host. This patch will force
the inclusion of the /usr/local/bin in the PATH enviroment variable
inside the chroot.

Change-Id: Idb7156d8ff124bfe685cc721337d9bb21f49dc9e
Fixes: bug #1175980
2013-05-08 23:32:47 +01:00
..
common-functions Tweak the moved cleanup_dirs to match the original. 2013-05-09 08:32:36 +12:00
die Fix copyrights for HP work. 2012-11-15 16:20:32 +13:00
img-defaults Only use tmpfs if build machine has 4GB+ RAM. 2013-05-03 06:55:53 -07:00
img-functions Force the inclusion of /usr/local/bin in PATH. 2013-05-08 23:32:47 +01:00
ramdisk-defaults Only use tmpfs if build machine has 4GB+ RAM. 2013-05-03 06:55:53 -07:00
ramdisk-functions Ignore errors when ldd'ing static binaries. 2013-05-08 14:30:22 +02:00