From: Richard Jones Date: Thu, 7 May 2009 15:58:49 +0000 (+0100) Subject: Include /usr/sbin on the $PATH (for RHEL 5). X-Git-Tag: 1.0.19~4 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=fd2eccd2eff8da2272e9dbcdf9c6f0be9e687d4c Include /usr/sbin on the $PATH (for RHEL 5). --- diff --git a/libguestfs.spec.in b/libguestfs.spec.in index aac7b2b..5195d75 100644 --- a/libguestfs.spec.in +++ b/libguestfs.spec.in @@ -256,6 +256,10 @@ createrepo repo --enable-debug-command \ %{extra} +# This ensures that /usr/sbin/chroot is on the path. Not needed +# except for RHEL 5, it shouldn't do any harm on other platforms. +export PATH=/usr/sbin:$PATH + # 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir # not the site dir. make INSTALLDIRS=vendor %{?_smp_mflags}