Re: /bin/hostname in buildroots.

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

 



Dave Jones wrote:
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


So its primarily an anti-ugliness feature.

The RPMs themselves contain this information, I wonder if that plays into things.

--CJD

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux