Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] ifupdown: fix issue that ifupdown does not configure local interface
@ 2018-07-11  7:29 Haiqing Bai
  2018-07-11  8:42 ` Andreas Oberritter
  0 siblings, 1 reply; 2+ messages in thread
From: Haiqing Bai @ 2018-07-11  7:29 UTC (permalink / raw)
  To: openembedded-core, haiqing.bai

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"
 
 inherit update-alternatives
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-11  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox