[BusyBox] several questions and a quick patch

Erik Andersen andersen at codepoet.org
Sun Dec 16 02:20:41 UTC 2001


On Wed Dec 12, 2001 at 09:56:02AM -0700, Ray Lehtiniemi wrote:
> 
> hi folks
> 
> several questions regarding init, getty and utmp:
> 
>  - why does init ignore items with non-null or non-console if there
>    is a serial console in use?

If there is a serial console in use, then there are no
virtual consoles available.

>  - i am trying to put a getty on ttyAM1 on my arm-linux board.  it complains
>    about "no utmp entry".  i gather init is supposed to create this entry?
>    or is getty not supposed to be looking for utmp entries?

getty should not complain.  Traditional sysvinit does indeed mess
with the utmp file (see man 5 utmp for details), but busybox init
ignores the utmp file.

> finally, here's a quick patch for busybox/Makefile that helps DODEBUG
> work better for me:
> 
> Index: Makefile
> ===================================================================
> RCS file: /var/cvs/busybox/Makefile,v
> retrieving revision 1.251
> diff -u -r1.251 Makefile
> --- Makefile	2001/12/08 01:56:06	1.251
> +++ Makefile	2001/12/12 16:35:12
> @@ -147,7 +147,7 @@
>  ifeq ($(strip $(DODEBUG)),true)
>      CFLAGS  += $(WARNINGS) -g -D_GNU_SOURCE
>      LDFLAGS += -Wl,-warn-common
> -    STRIPCMD    =
> +    STRIPCMD    = echo Not stripping

Sure, no problem,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list