Re: [PATCH] build: avoid corrupting / in RHEL 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 01, 2011 at 11:52:00 -0600, Eric Blake wrote:
> I noticed this while building from libvirt.git on RHEL 5.6:
> 
> Generating internals/command.html.tmp
> mkdir: cannot create directory `/internals': Permission denied
> 
> If I had been building as root instead, this pollutes /.
> 
> Older autoconf lacks $(builddir), but it is rigorously equal to '.'
> in newer autoconf, so we could use '$(MKDIR_P) internals' instead.
> 
> However, since internals/command.html is part of the tarball, we
> _already_ build it in $(srcdir), not $(builddir) during VPATH
> builds, so the mkdir is wasted effort!
> 
> * docs/Makefile.am (internals/%.html.tmp): Drop unused mkdir.
> ---
>  docs/Makefile.am |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

ACK

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]