From: Bruno C. <Bru...@hp...> - 2009-02-24 17:04:57
|
Bryan Gartner said on Mon, Feb 23, 2009 at 04:48:55PM -0700: > My proposed naming guideline will be: > > <lsb_release -s -i>-<lsb_release -s -r>-<uname -m> > Distributor ID - Release - machine hardware name My only warning here is that there may be (not completely sure) differences between what gives lsb_release -s -i and lsb_release -s -r and what is contained in the /etc/distro-release file. I have not checked it. > > $ pbdistrocheck > > distro tuple: mandriva,2009.0,md,rpm,.mdv2009.0,sudo urpmi.update -a ; sudo urpmi --auto > > Good that you ended up in a similar state. But at this point I have no > need to distribute *any* tool to calculate this, Well you need the lsb package installed. Which is not by default on most distro. But agreed with you. What I was proposing is that you could call also the perl module ProjectBuilder::Distribution and integrate it in your delivery directly. That way you're autonomous. > but only to run it once > on a given "tuple" to generate what should be used. If we do later > get to this point, perhaps when we migrate to using something like > Config::Model, it would be important to calculate a value (perhaps > via the pbdistrocheck) and generate all the config files automatically. True. > You know I will. I am still having some fundamental startup questions, > adjusting .pbrc values to the appropriate settings, and also doing first > run kinds of cms2build operations (from scratch). I'll contact you > directly with these questions, Thanks for your patience on this. My ability to document is worse that mine to code ;-) But I'll try to improve the wiki soon with examples made from scratch so that people could at least follow those instructions to setup an environement. Bruno. -- Linux Profession Lead EMEA / Open Source Ambassador \ EMEA CME SoL. Center http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org |