Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe001.messaging.microsoft.com [216.32.181.181]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E24C0E006D5 for ; Thu, 29 Nov 2012 11:15:56 -0800 (PST) Received: from mail25-ch1-R.bigfish.com (10.43.68.249) by CH1EHSOBE005.bigfish.com (10.43.70.55) with Microsoft SMTP Server id 14.1.225.23; Thu, 29 Nov 2012 19:15:56 +0000 Received: from mail25-ch1 (localhost [127.0.0.1]) by mail25-ch1-R.bigfish.com (Postfix) with ESMTP id 8D4983A035A for ; Thu, 29 Nov 2012 19:15:56 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zzzz1de0h1202h1d1ah1d2ah1082kzz8275ch17326ah8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1155h) Received: from mail25-ch1 (localhost.localdomain [127.0.0.1]) by mail25-ch1 (MessageSwitch) id 1354216554679042_21327; Thu, 29 Nov 2012 19:15:54 +0000 (UTC) Received: from CH1EHSMHS016.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.249]) by mail25-ch1.bigfish.com (Postfix) with ESMTP id 9F8964601E5 for ; Thu, 29 Nov 2012 19:15:54 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS016.bigfish.com (10.43.70.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 29 Nov 2012 19:15:54 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 29 Nov 2012 19:15:53 +0000 Received: from right.am.freescale.net (right.am.freescale.net [10.82.176.228]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id qATJFpuD013610 for ; Thu, 29 Nov 2012 12:15:53 -0700 From: Matthew McClintock To: Date: Thu, 29 Nov 2012 13:15:35 -0600 Message-ID: <1354216551-13932-12-git-send-email-msm@freescale.com> X-Mailer: git-send-email 1.7.9.7 In-Reply-To: <1354216551-13932-1-git-send-email-msm@freescale.com> References: <1354216551-13932-1-git-send-email-msm@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [PATCH 11/27] lxc: remove hwaddr from vlan config X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 19:15:57 -0000 Content-Type: text/plain From: Stuart Yoder -to get vlan working with the FSL SDK we need to remove the hwaddr. This was found by trial and error. Upstream discussion is started as to when the hwaddr might be needed, but for now remove it Signed-off-by: Stuart Yoder --- recipes-tools/lxc/lxc_0.8.0-rc1.bb | 3 ++- recipes-tools/lxc/remove_vlan_hwaddr.patch | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 recipes-tools/lxc/remove_vlan_hwaddr.patch diff --git a/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/recipes-tools/lxc/lxc_0.8.0-rc1.bb index e6ed2d6..c8d90ae 100644 --- a/recipes-tools/lxc/lxc_0.8.0-rc1.bb +++ b/recipes-tools/lxc/lxc_0.8.0-rc1.bb @@ -3,7 +3,7 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" PRIORITY = "optional" -PR = "r2" +PR = "r3" DEPENDS = "libxml2 libcap" RDEPENDS_${PN} = " \ rsync \ @@ -23,6 +23,7 @@ SRC_URI = "http://lxc.sourceforge.net/download/lxc/${PN}-${PV}.tar.gz \ file://noldconfig.patch \ file://libmounts.patch \ file://busybox_remove_dhcp.patch \ + file://remove_vlan_hwaddr.patch \ " SRC_URI[md5sum] ="06ceecf4dbe1be988fc903ad8dd34d29" diff --git a/recipes-tools/lxc/remove_vlan_hwaddr.patch b/recipes-tools/lxc/remove_vlan_hwaddr.patch new file mode 100644 index 0000000..d3883bd --- /dev/null +++ b/recipes-tools/lxc/remove_vlan_hwaddr.patch @@ -0,0 +1,11 @@ +diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in +index 4404439..231d618 100644 +--- a/doc/examples/lxc-vlan.conf.in ++++ b/doc/examples/lxc-vlan.conf.in +@@ -4,6 +4,5 @@ lxc.network.type = vlan + lxc.network.vlan.id = 1234 + lxc.network.flags = up + lxc.network.link = eth0 +-lxc.network.hwaddr = 4a:49:43:49:79:bd + lxc.network.ipv4 = 1.2.3.4/24 + lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596 -- 1.7.9.7