From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] ifupdown: fix issue that ifupdown does not configure local interface
Date: Wed, 11 Jul 2018 10:42:47 +0200 [thread overview]
Message-ID: <20180711104247.4f8b6dbe@t460p> (raw)
In-Reply-To: <1531294187-8173-1-git-send-email-Haiqing.Bai@windriver.com>
On Wed, 11 Jul 2018 15:29:46 +0800
Haiqing Bai <Haiqing.Bai@windriver.com> wrote:
> The patch "inet-6-.defn-fix-inverted-checks-for-loopback.patch" is not
> needed for ifupdown-0.8.16. And it causes the issue that ifupdown can
> not configure the loopback interface like:
> $cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
> $ifconfig shows all up interfaces including 'lo'
> $ifup lo
> ifup: interface lo already configured
> $ifdown lo
> $ifconfig still shows the up interface 'lo'
>
> The function of ifup/ifdown depends on '/bin/ip' which is provided by
> iproute2, so here add this runtime dependency.
>
> Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
> ---
> meta/recipes-core/ifupdown/ifupdown_0.8.16.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb
> index e9f3a2a..f91831f 100644
> --- a/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb
> +++ b/meta/recipes-core/ifupdown/ifupdown_0.8.16.bb
> @@ -8,13 +8,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>
> SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https \
> file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \
> - file://inet-6-.defn-fix-inverted-checks-for-loopback.patch \
> file://99_network \
> "
> SRCREV = "11b9f99f7ecc7052497e6786156cfed531f11823"
>
> S = "${WORKDIR}/git"
>
> +RDEPENDS_${PN} = "iproute2"
Does busybox RPROVIDE iproute2?
>
> inherit update-alternatives
>
prev parent reply other threads:[~2018-07-11 8:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-11 7:29 [PATCH] ifupdown: fix issue that ifupdown does not configure local interface Haiqing Bai
2018-07-11 8:42 ` Andreas Oberritter [this message]
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=20180711104247.4f8b6dbe@t460p \
--to=obi@opendreambox.org \
--cc=openembedded-core@lists.openembedded.org \
/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