All of lore.kernel.org
 help / color / mirror / Atom feed
From: <b28495@freescale.com>
To: <meta-freescale@yoctoproject.org>
Subject: [meta-fsl-ppc][PATCH v5 6/8] udev-extraconf: move rules from udev and netbase
Date: Sat, 9 Mar 2013 23:32:01 +0800	[thread overview]
Message-ID: <1362843123-18078-7-git-send-email-b28495@freescale.com> (raw)
In-Reply-To: <1362843123-18078-1-git-send-email-b28495@freescale.com>

From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 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..3b66250
--- /dev/null
+++ b/recipes-core/udev/udev-extraconf_1.0.bbappend
@@ -0,0 +1,11 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+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




  parent reply	other threads:[~2013-03-09 15:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-09 15:31 [meta-fsl-ppc][PATCH v5 0/8] ll the patches for meta-fsl-ppc b28495
2013-03-09 15:31 ` [meta-fsl-ppc][PATCH v5 1/8] remove lm_sensor as it is already in meta-oe b28495
2013-03-09 19:01   ` Otavio Salvador
2013-03-11  2:02     ` Liu Ting-B28495
2013-03-09 15:31 ` [meta-fsl-ppc][PATCH v5 2/8] qemu: configure properly check if -lrt is needed b28495
2013-03-09 15:31 ` [meta-fsl-ppc][PATCH v5 3/8] lio-utils: add tcm_start.sh and lio_start.sh to rootfs b28495
2013-03-09 15:31 ` [meta-fsl-ppc][PATCH v5 4/8] sysvinit: remove SDK specific bits b28495
2013-03-09 15:32 ` [meta-fsl-ppc][PATCH v5 5/8] procps: remove customized sysctl.conf which is SDK specific b28495
2013-03-09 15:32 ` b28495 [this message]
2013-03-09 15:32 ` [meta-fsl-ppc][PATCH v5 7/8] udev-extraconf: added to the list of MACHINE_EXTRA_RRECOMMENDS b28495
2013-03-09 15:32 ` [meta-fsl-ppc][PATCH v5 8/8] udev-extraconf: add rule to rename network interfaces for t4/b4 b28495
2013-03-12  4:38 ` [meta-fsl-ppc][PATCH v5 0/8] ll the patches for meta-fsl-ppc Matthew McClintock

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=1362843123-18078-7-git-send-email-b28495@freescale.com \
    --to=b28495@freescale.com \
    --cc=meta-freescale@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.