diff options
author | Richard Jones <rjones@centos5x32.home.annexia.org> | 2009-05-07 16:58:49 +0100 |
---|---|---|
committer | Richard Jones <rjones@centos5x32.home.annexia.org> | 2009-05-07 16:58:49 +0100 |
commit | fd2eccd2eff8da2272e9dbcdf9c6f0be9e687d4c (patch) | |
tree | 34a6bc9157b1ef355978bd49ed066ae8bd319bc0 | |
parent | c0beb26a0bc86188d38f2b36cbcd6cf20a676713 (diff) | |
download | libguestfs-fd2eccd2eff8da2272e9dbcdf9c6f0be9e687d4c.tar.gz libguestfs-fd2eccd2eff8da2272e9dbcdf9c6f0be9e687d4c.tar.xz libguestfs-fd2eccd2eff8da2272e9dbcdf9c6f0be9e687d4c.zip |
Include /usr/sbin on the $PATH (for RHEL 5).
-rw-r--r-- | libguestfs.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libguestfs.spec.in b/libguestfs.spec.in index aac7b2bc..5195d753 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} |