[Buildroot] remove 'buildroot login' for cross compilation linux for an ARM

Lionel Landwerlin llandwerlin at gmail.com
Fri Feb 5 16:11:42 UTC 2010


The /etc/inittab file defines the program to start at the end of the boot
process. Usually that's getty which asks for a login/password.
This modification replace getty by /bin/sh. You can launch anything you
want...

--
Lionel

On Fri, Feb 5, 2010 at 5:01 PM, Tony Mozi <spooflinux at hotmail.fr> wrote:

>  Dear,
> It's ok but I don't understand really this modification?
> Can you explan me?
> Is it possible to modify the '/  #' by another thing when the linux start?
> BR
>
> ------------------------------
> Date: Fri, 5 Feb 2010 11:38:49 +0100
> Subject: Re: [Buildroot] remove 'buildroot login' for cross compilation
> linux for an ARM
> From: llandwerlin at gmail.com
> To: spooflinux at hotmail.fr
> CC: buildroot at uclibc.org
>
>
> Something like that :
>
> diff --git a/target/generic/Makefile.in b/target/generic/Makefile.in
> index f77f969..44f78f2 100644
> --- a/target/generic/Makefile.in
> +++ b/target/generic/Makefile.in
> @@ -21,7 +21,7 @@ target-generic-issue:
>         echo "$(TARGET_GENERIC_ISSUE)" > $(TARGET_DIR)/etc/issue
>
>  target-generic-getty:
> -       $(SED) '/#
> GENERIC_SERIAL$/s~^.*#~$(TARGET_GENERIC_GETTY)::respawn:/sbin/getty -L
> $(TARGET_GENERIC_GETTY) $(TARGET_GENERIC_GETTY_BAUDRATE) vt100 #~' \
> +       $(SED) '/#
> GENERIC_SERIAL$/s~^.*#~$(TARGET_GENERIC_GETTY)::respawn:/bin/sh #~' \
>                 $(TARGET_DIR)/etc/inittab
>
>  ifneq ($(TARGET_GENERIC_HOSTNAME),)
>
>
> On Fri, Feb 5, 2010 at 11:31 AM, Tony Mozi <spooflinux at hotmail.fr> wrote:
>
>  Hi all,
> I make the cross compilation of Linux-2.6.22.2 for an ARM9.
> When I start my board, I have this message :
>
> *Welcome to
> Buildroot
> buildroot login:*
>
> Concerning the login, it's root, but it's possible to remove this step? (to
> start the board whitout login).
>
> BR
>
> ------------------------------
> Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !<http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
> ------------------------------
> Windows 7 : Trouvez le PC qui vous convient! Découvrez notre offre !
> <http://clk.atdmt.com/FRM/go/181574577/direct/01/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100205/4cbc56ab/attachment.htm>


More information about the buildroot mailing list