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@Sending processes@& configured via /etc/inittab@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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page