[lfs-dev] sysvinit

Lemon Lime lemonlime51 at gmail.com
Tue Mar 6 00:28:03 PST 2012

On 03/06/12 05:29, Bruce Dubbs wrote:
> Lemon Lime wrote:
>> I think the "-C src" in the instructions for sysvinit is not needed:
>> pkg:~/build/sysvinit-2.88dsf$ cat Makefile
>> all install clean distclean:
>> 	$(MAKE) -C src $@
>> I already built it a few times with just "make" and "make install" and
>> it worked.
> You're right.  It's not needed to build.  We could also have done:
> cd src
> sed -i 's at Sending processes@&  configured via /etc/inittab at g' init.c
> sed -i -e 's/utmpdump wall/utmpdump/' \
>          -e '/= mountpoint/d'           \
>          -e 's/mountpoint.1 wall.1//' Makefile
> make
> make install
> There's more than one way to do things, but we like to show some
> variations of commands too when they are not too exotic.
>     -- Bruce

Okay. I thought it was from an earlier version which didn't have a
top-level Makefile, or something similar.

More information about the lfs-dev mailing list