/bin/hostname in buildroots.

Dave Jones davej at redhat.com
Sun Feb 24 04:08:46 UTC 2008


On Sat, Feb 23, 2008 at 10:48:57PM -0500, Casey Dahlin wrote:
 > Dave Jones wrote:
 > > Looking through build logs of various packages, I keep seeing this..
 > >
 > > /etc/profile: line 38: /bin/hostname: No such file or directory
 > > warning: Could not canonicalize hostname: xenbuilder4.fedora.phx.redhat.com
 > >
 > > Should the buildroots provide this by default (imo, yes), or should
 > > packages have to explicitly BuildRequires: this ?
 > >
 > 
 > I think we should determine the exact use cases for this. The first 5 
 > reasons I can think of for having it around are evil, but there's a 
 > couple of legitimate ones.

A number of projects (the kernel, X..) embed info about the system that
it was built on into the binary in case it later proves to be useful
to match up systems to bug reports.

Admittedly it isn't hugely useful from a distro perspective
(given the machines doing the building aren't the machines
 running the generated binaries).

	Dave

-- 
http://www.codemonkey.org.uk




More information about the fedora-devel-list mailing list