Return-Path: Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe004.messaging.microsoft.com [207.46.163.27]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D7DAAE014D8 for ; Fri, 8 Mar 2013 19:30:37 -0800 (PST) Received: from mail71-co9-R.bigfish.com (10.236.132.238) by CO9EHSOBE026.bigfish.com (10.236.130.89) with Microsoft SMTP Server id 14.1.225.23; Sat, 9 Mar 2013 03:30:37 +0000 Received: from mail71-co9 (localhost [127.0.0.1]) by mail71-co9-R.bigfish.com (Postfix) with ESMTP id 239B8A0143 for ; Sat, 9 Mar 2013 03:30:37 +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 mail71-co9 (localhost.localdomain [127.0.0.1]) by mail71-co9 (MessageSwitch) id 1362799834734994_26658; Sat, 9 Mar 2013 03:30:34 +0000 (UTC) Received: from CO9EHSMHS031.bigfish.com (unknown [10.236.132.253]) by mail71-co9.bigfish.com (Postfix) with ESMTP id A6F6F2E005C for ; Sat, 9 Mar 2013 03:30:34 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO9EHSMHS031.bigfish.com (10.236.130.41) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 9 Mar 2013 03:30:30 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.2.328.11; Sat, 9 Mar 2013 03:30:29 +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 r293UDn5028716; Fri, 8 Mar 2013 20:30:27 -0700 From: To: Date: Sat, 9 Mar 2013 11:30:10 +0800 Message-ID: <1362799812-16444-7-git-send-email-b28495@freescale.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1362799812-16444-1-git-send-email-b28495@freescale.com> References: <1362799812-16444-1-git-send-email-b28495@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [meta-fsl-ppc][PATCH v4 6/8] udev-extraconf: move rules from udev and 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: Sat, 09 Mar 2013 03:30:38 -0000 Content-Type: text/plain From: Ting Liu Signed-off-by: Ting Liu --- recipes-append/netbase/netbase_5.0.bbappend | 10 +--------- recipes-append/udev/udev_182.bbappend | 3 +-- .../71-fsl-dpaa-persistent-networking.rules | 0 .../udev/udev-extraconf}/local.rules | 0 recipes-core/udev/udev-extraconf_1.0.bbappend | 11 +++++++++++ 5 files changed, 13 insertions(+), 11 deletions(-) rename {recipes-append/netbase/files => recipes-core/udev/udev-extraconf}/71-fsl-dpaa-persistent-networking.rules (100%) rename {recipes-append/udev/files => recipes-core/udev/udev-extraconf}/local.rules (100%) create mode 100644 recipes-core/udev/udev-extraconf_1.0.bbappend 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/udev/udev_182.bbappend b/recipes-append/udev/udev_182.bbappend index f15533b..8445337 100644 --- a/recipes-append/udev/udev_182.bbappend +++ b/recipes-append/udev/udev_182.bbappend @@ -1,3 +1,2 @@ -FILESEXTRAPATHS_prepend_fsl := "${THISDIR}/files:" +PRINC := "${@int(PRINC) + 1}" -PR_fsl .= "+${DISTRO}.1" diff --git a/recipes-append/netbase/files/71-fsl-dpaa-persistent-networking.rules b/recipes-core/udev/udev-extraconf/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/udev-extraconf/71-fsl-dpaa-persistent-networking.rules diff --git a/recipes-append/udev/files/local.rules b/recipes-core/udev/udev-extraconf/local.rules similarity index 100% rename from recipes-append/udev/files/local.rules rename to recipes-core/udev/udev-extraconf/local.rules diff --git a/recipes-core/udev/udev-extraconf_1.0.bbappend b/recipes-core/udev/udev-extraconf_1.0.bbappend new file mode 100644 index 0000000..f3ddb8e --- /dev/null +++ b/recipes-core/udev/udev-extraconf_1.0.bbappend @@ -0,0 +1,11 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/udev-extraconf:" + +PRINC := "${@int(PRINC) + 1}" + +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