Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] skeleton: remove loopback interface configuration from inittab
Date: Mon, 7 Jun 2010 07:33:05 +0300	[thread overview]
Message-ID: <20100607043305.GD14583@jasper.tkos.co.il> (raw)
In-Reply-To: <acc7c503a6179494174d8225e121b23d69a24b61.1275543349.git.baruch@tkos.co.il>

Hi Buildroot list,

Ping?
Any comment on this?

baruch

On Thu, Jun 03, 2010 at 08:36:50AM +0300, Baruch Siach wrote:
> The lo interface is marked auto in /etc/network/interfaces, so the
> configuration of the loopback network interface is part of the
> S40network init script. This causes the "RTNETLINK answers: File exists" error
> message to appear at startup time.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  .../Atmel/root/target_busybox_skeleton/etc/inittab |    2 --
>  .../device/Atmel/root/target_skeleton/etc/inittab  |    2 --
>  target/device/xtensa/skeleton-patch/etc/inittab    |    2 --
>  target/generic/target_busybox_skeleton/etc/inittab |    2 --
>  target/generic/target_skeleton/etc/inittab         |    2 --
>  5 files changed, 0 insertions(+), 10 deletions(-)
> 
> diff --git a/target/device/Atmel/root/target_busybox_skeleton/etc/inittab b/target/device/Atmel/root/target_busybox_skeleton/etc/inittab
> index bb18305..b394548 100644
> --- a/target/device/Atmel/root/target_busybox_skeleton/etc/inittab
> +++ b/target/device/Atmel/root/target_busybox_skeleton/etc/inittab
> @@ -24,8 +24,6 @@
>  ::sysinit:/bin/mount -o remount,rw /
>  ::sysinit:/bin/mount -a
>  ::sysinit:/bin/hostname -F /etc/hostname
> -::sysinit:/sbin/ifconfig lo 127.0.0.1 up
> -::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
>  # now run any rc scripts
>  ::sysinit:/etc/init.d/rcS
>  
> diff --git a/target/device/Atmel/root/target_skeleton/etc/inittab b/target/device/Atmel/root/target_skeleton/etc/inittab
> index 69e4df1..2e3b9a4 100644
> --- a/target/device/Atmel/root/target_skeleton/etc/inittab
> +++ b/target/device/Atmel/root/target_skeleton/etc/inittab
> @@ -18,8 +18,6 @@ null::sysinit:/bin/mount -o remount,rw /
>  null::sysinit:/bin/mount -t proc proc /proc
>  null::sysinit:/bin/mount -a
>  null::sysinit:/bin/hostname -F /etc/hostname
> -null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
> -null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
>  # now run any rc scripts
>  ::sysinit:/etc/init.d/rcS
>  
> diff --git a/target/device/xtensa/skeleton-patch/etc/inittab b/target/device/xtensa/skeleton-patch/etc/inittab
> index b336ff6..de3ce70 100644
> --- a/target/device/xtensa/skeleton-patch/etc/inittab
> +++ b/target/device/xtensa/skeleton-patch/etc/inittab
> @@ -18,8 +18,6 @@ null::sysinit:/bin/mount -t proc proc /proc
>  null::sysinit:/bin/mount -o remount,rw /
>  null::sysinit:/bin/mount -a
>  null::sysinit:/bin/hostname -F /etc/hostname
> -null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
> -null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
>  # now run any rc scripts
>  ::sysinit:/etc/init.d/rcS
>  
> diff --git a/target/generic/target_busybox_skeleton/etc/inittab b/target/generic/target_busybox_skeleton/etc/inittab
> index 7c7bf7a..bd3912b 100644
> --- a/target/generic/target_busybox_skeleton/etc/inittab
> +++ b/target/generic/target_busybox_skeleton/etc/inittab
> @@ -24,8 +24,6 @@
>  ::sysinit:/bin/mount -o remount,rw /
>  ::sysinit:/bin/mount -a
>  ::sysinit:/bin/hostname -F /etc/hostname
> -::sysinit:/sbin/ifconfig lo 127.0.0.1 up
> -::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
>  # now run any rc scripts
>  ::sysinit:/etc/init.d/rcS
>  
> diff --git a/target/generic/target_skeleton/etc/inittab b/target/generic/target_skeleton/etc/inittab
> index 2949c91..4be14b8 100644
> --- a/target/generic/target_skeleton/etc/inittab
> +++ b/target/generic/target_skeleton/etc/inittab
> @@ -19,8 +19,6 @@ null::sysinit:/bin/mount -t proc proc /proc
>  null::sysinit:/bin/mkdir -p /dev/pts
>  null::sysinit:/bin/mount -a
>  null::sysinit:/bin/hostname -F /etc/hostname
> -null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
> -null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
>  # now run any rc scripts
>  ::sysinit:/etc/init.d/rcS
>  
> -- 
> 1.7.1
> 

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2010-06-07  4:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03  5:36 [Buildroot] [PATCH] skeleton: remove loopback interface configuration from inittab Baruch Siach
2010-06-07  4:33 ` Baruch Siach [this message]
2010-06-07  7:23 ` Thomas Petazzoni
2010-06-09  1:58   ` Baruch Siach
2010-06-09  6:31     ` Thomas Petazzoni
2010-06-09 11:39 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100607043305.GD14583@jasper.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox