Return-Path: Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe001.messaging.microsoft.com [207.46.163.24]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by yocto-www.yoctoproject.org (Postfix) with ESMTPS id A115AE01564 for ; Fri, 8 Mar 2013 07:28:57 -0800 (PST) Received: from mail1-co9-R.bigfish.com (10.236.132.239) by CO9EHSOBE007.bigfish.com (10.236.130.70) with Microsoft SMTP Server id 14.1.225.23; Fri, 8 Mar 2013 15:28:57 +0000 Received: from mail1-co9 (localhost [127.0.0.1]) by mail1-co9-R.bigfish.com (Postfix) with ESMTP id 220DD4C0354 for ; Fri, 8 Mar 2013 15:28:57 +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: 0 X-BigFish: VS0(zzzz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1155h) Received: from mail1-co9 (localhost.localdomain [127.0.0.1]) by mail1-co9 (MessageSwitch) id 1362756534823474_30252; Fri, 8 Mar 2013 15:28:54 +0000 (UTC) Received: from CO9EHSMHS016.bigfish.com (unknown [10.236.132.225]) by mail1-co9.bigfish.com (Postfix) with ESMTP id C4A86260057 for ; Fri, 8 Mar 2013 15:28:54 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO9EHSMHS016.bigfish.com (10.236.130.26) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 8 Mar 2013 15:28: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.328.11; Fri, 8 Mar 2013 15:28:54 +0000 Received: from b28495.ap.freescale.net (udp143739uds.ap.freescale.net [10.192.208.202]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r28FSaHN028877; Fri, 8 Mar 2013 08:28:52 -0700 From: To: Date: Fri, 8 Mar 2013 23:28:35 +0800 Message-ID: <1362756516-13721-9-git-send-email-b28495@freescale.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1362756516-13721-1-git-send-email-b28495@freescale.com> References: <1362756516-13721-1-git-send-email-b28495@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [meta-fsl-ppc][PATCH v3 8/9] udev-extraconf: add udev rules from netbase 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: Fri, 08 Mar 2013 15:28:57 -0000 Content-Type: text/plain From: Ting Liu Signed-off-by: Ting Liu --- recipes-append/netbase/netbase_5.0.bbappend | 10 +--------- .../files/71-fsl-dpaa-persistent-networking.rules | 0 recipes-core/udev/udev-extraconf_1.0.bbappend | 9 ++++++++- 3 files changed, 9 insertions(+), 10 deletions(-) rename {recipes-append/netbase => recipes-core/udev}/files/71-fsl-dpaa-persistent-networking.rules (100%) diff --git a/recipes-append/netbase/netbase_5.0.bbappend b/recipes-append/netbase/netbase_5.0.bbappend index dc0fd0a..8445337 100644 --- a/recipes-append/netbase/netbase_5.0.bbappend +++ b/recipes-append/netbase/netbase_5.0.bbappend @@ -1,10 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -SRC_URI_append_fsl += "file://71-fsl-dpaa-persistent-networking.rules" - -do_install_append_fsl () { - install -d ${D}${sysconfdir}/udev/rules.d/ - install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d -} - -PR_fsl .= "+${DISTRO}" diff --git a/recipes-append/netbase/files/71-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/files/71-fsl-dpaa-persistent-networking.rules similarity index 100% rename from recipes-append/netbase/files/71-fsl-dpaa-persistent-networking.rules rename to recipes-core/udev/files/71-fsl-dpaa-persistent-networking.rules diff --git a/recipes-core/udev/udev-extraconf_1.0.bbappend b/recipes-core/udev/udev-extraconf_1.0.bbappend index 8445337..58a417a 100644 --- a/recipes-core/udev/udev-extraconf_1.0.bbappend +++ b/recipes-core/udev/udev-extraconf_1.0.bbappend @@ -1,2 +1,9 @@ -PRINC := "${@int(PRINC) + 1}" +PRINC := "${@int(PRINC) + 2}" + +SRC_URI_append = " file://71-fsl-dpaa-persistent-networking.rules" + +do_install_append () { + install -d ${D}${sysconfdir}/udev/rules.d/ + install -m 0644 ${WORKDIR}/71-fsl-dpaa-persistent-networking.rules ${D}${sysconfdir}/udev/rules.d +} -- 1.7.3.4