[meta-freescale] [meta-fsl-ppc][PATCH v2 5/6] udev-extraconf: add udev rules from netbase

Otavio Salvador otavio at ossystems.com.br
Fri Mar 8 05:38:20 PST 2013


On Fri, Mar 8, 2013 at 6:42 AM,  <b28495 at freescale.com> wrote:
> From: Ting Liu <b28495 at freescale.com>
>
> Signed-off-by: Ting Liu <b28495 at freescale.com>
> ---
>  recipes-append/netbase/netbase_5.0.bbappend        |   10 +---------
>  .../files/71-fsl-dpaa-persistent-networking.rules  |    0
>  recipes-core/udev/udev-extraconf_1.0.bbappend      |   10 +++++++++-
>  3 files changed, 10 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 b3641a4..78394d1 100644
> --- a/recipes-core/udev/udev-extraconf_1.0.bbappend
> +++ b/recipes-core/udev/udev-extraconf_1.0.bbappend
> @@ -1,3 +1,11 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

This could be dropped if you move it to udev-extraconf directory.

> -PRINC := "${@int(PRINC) + 1}"
> +SRC_URI_append += "file://71-fsl-dpaa-persistent-networking.rules"

SRC_URI_append = " file://...

> +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
> +}
> +
> +PRINC := "${@int(PRINC) + 2}"
> +
> --
> 1.7.3.4
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the meta-freescale mailing list