[lfs-dev] init from Sysvinit-2.93 does not display version information

Xi Ruoyao xry111 at mengyan1223.wang
Mon Jan 21 11:32:18 PST 2019


On 2019-01-21 11:14 -0600, Bruce Dubbs via lfs-dev wrote:
> On 01/21/2019 04:06 AM, Pierre Labastie via lfs-dev wrote:
> > On 20/01/2019 22:52, Bruce Dubbs via lfs-dev wrote:
> > > On 01/20/2019 03:16 PM, Ryan Marsaw via lfs-dev wrote:
> > > > Hello LFS editors.
> > > > 
> > > > When I boot into my LFS system, the first thing I see is something like this:
> > > > "INIT: version 2.88 booting"
> > > > 
> > > > Ever since version 2.91 of Sysvinit the version of "init" is no longer
> > > > displayed "INIT: version  booting"
> > > > 
> > > > [...]
> > > > 
> > > > Any ideas?
> > > 
> > > That's because we don't run the Makefile in the main tarball.
> > 
> > Why not? Running "make" or "make install" in the top level directory just runs
> > the command below (or the command below + install) (Just tried).
> > 
> >   We need:
> > > VERSION=2.93 make -C src
> > > 
> > > so src/Makefile will get the right value.
> 
> You are right.  I guess we can just do:
> 
> patch
> make
> make install
> 
> I do not remember why we used the '-C src' option in the past but 
> perhaps in the latest version the Makefile was updated.

"cd src; make" was in LFS-HOWTO-1.0 :).  Then in r382 it was changed
to "make -C src".  I was a six year old kid when r382 was commited!
-- 
Xi Ruoyao <xry111 at mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University



More information about the lfs-dev mailing list