* [meta-fsl-ppc dylan][PATCH] eth-config: use pattern match for xml files installation
@ 2013-05-21 2:25 Zhenhua Luo
2013-05-21 6:07 ` Luo Zhenhua-B19537
0 siblings, 1 reply; 2+ messages in thread
From: Zhenhua Luo @ 2013-05-21 2:25 UTC (permalink / raw)
To: meta-freescale; +Cc: Zhenhua Luo, b40527
Use pattern match to install xml files and no need to update recipe if xml
files are added, renamed or deleted.
Backport from 70afc09e8a5aac8c06d654c6477cc06c90d2d164 on master
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
---
recipes-tools/eth-config/eth-config_git.bb | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/recipes-tools/eth-config/eth-config_git.bb b/recipes-tools/eth-config/eth-config_git.bb
index f1e957c..3ed50a5 100644
--- a/recipes-tools/eth-config/eth-config_git.bb
+++ b/recipes-tools/eth-config/eth-config_git.bb
@@ -3,7 +3,7 @@ SECTION = "eth-config"
LICENSE = "Freescale EULA"
LIC_FILES_CHKSUM = "file://COPYING;md5=cf02dc8eb5ac4a76f3812826520dea87"
-PR = "r1"
+PR = "r2"
SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git"
SRCREV = "c1400695e56aa80f2f4c88c4e0582028248ae06f"
@@ -12,11 +12,8 @@ S = "${WORKDIR}/git"
do_install() {
install -d ${D}/etc/fmc/config
- install -m 644 ${S}/8c-128fq-p.xml ${D}/etc/fmc/config
- install -m 644 ${S}/cfg-8c.xml ${D}/etc/fmc/config
+ install -m 644 ${S}/*.xml ${D}/etc/fmc/config
install -d ${D}/etc/fmc/config/shared_mac
- install -m 644 ${S}/shared_mac/hv2p_config_p4_shared_mac.xml ${D}/etc/fmc/config/shared_mac
- install -m 644 ${S}/shared_mac/hv2p_policy_shared_mac.xml ${D}/etc/fmc/config/shared_mac
- install -m 644 ${S}/shared_mac/hv2p_swparser_shared_mac.xml ${D}/etc/fmc/config/shared_mac
+ install -m 644 ${S}/shared_mac/*.xml ${D}/etc/fmc/config/shared_mac
install -m 644 ${S}/shared_mac/README ${D}/etc/fmc/config/shared_mac
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-fsl-ppc dylan][PATCH] eth-config: use pattern match for xml files installation
2013-05-21 2:25 [meta-fsl-ppc dylan][PATCH] eth-config: use pattern match for xml files installation Zhenhua Luo
@ 2013-05-21 6:07 ` Luo Zhenhua-B19537
0 siblings, 0 replies; 2+ messages in thread
From: Luo Zhenhua-B19537 @ 2013-05-21 6:07 UTC (permalink / raw)
To: meta-freescale; +Cc: Yu Zongchun-B40527
Applied.
Best Regards,
Zhenhua
> -----Original Message-----
> From: Luo Zhenhua-B19537
> Sent: Tuesday, May 21, 2013 10:26 AM
> To: meta-freescale@yoctoproject.org
> Cc: Liu Ting-B28495; Guo Chunrong-B40290; Yu Zongchun-B40527; Luo
> Zhenhua-B19537
> Subject: [meta-fsl-ppc dylan][PATCH] eth-config: use pattern match for
> xml files installation
>
> Use pattern match to install xml files and no need to update recipe if
> xml files are added, renamed or deleted.
>
> Backport from 70afc09e8a5aac8c06d654c6477cc06c90d2d164 on master
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
> ---
> recipes-tools/eth-config/eth-config_git.bb | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)
>
> diff --git a/recipes-tools/eth-config/eth-config_git.bb b/recipes-
> tools/eth-config/eth-config_git.bb
> index f1e957c..3ed50a5 100644
> --- a/recipes-tools/eth-config/eth-config_git.bb
> +++ b/recipes-tools/eth-config/eth-config_git.bb
> @@ -3,7 +3,7 @@ SECTION = "eth-config"
> LICENSE = "Freescale EULA"
> LIC_FILES_CHKSUM = "file://COPYING;md5=cf02dc8eb5ac4a76f3812826520dea87"
>
> -PR = "r1"
> +PR = "r2"
>
> SRC_URI = "git://git.freescale.com/ppc/sdk/eth-config.git"
> SRCREV = "c1400695e56aa80f2f4c88c4e0582028248ae06f"
> @@ -12,11 +12,8 @@ S = "${WORKDIR}/git"
>
> do_install() {
> install -d ${D}/etc/fmc/config
> - install -m 644 ${S}/8c-128fq-p.xml ${D}/etc/fmc/config
> - install -m 644 ${S}/cfg-8c.xml ${D}/etc/fmc/config
> + install -m 644 ${S}/*.xml ${D}/etc/fmc/config
> install -d ${D}/etc/fmc/config/shared_mac
> - install -m 644 ${S}/shared_mac/hv2p_config_p4_shared_mac.xml
> ${D}/etc/fmc/config/shared_mac
> - install -m 644 ${S}/shared_mac/hv2p_policy_shared_mac.xml
> ${D}/etc/fmc/config/shared_mac
> - install -m 644 ${S}/shared_mac/hv2p_swparser_shared_mac.xml
> ${D}/etc/fmc/config/shared_mac
> + install -m 644 ${S}/shared_mac/*.xml ${D}/etc/fmc/config/shared_mac
> install -m 644 ${S}/shared_mac/README
> ${D}/etc/fmc/config/shared_mac }
> --
> 1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-21 6:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-21 2:25 [meta-fsl-ppc dylan][PATCH] eth-config: use pattern match for xml files installation Zhenhua Luo
2013-05-21 6:07 ` Luo Zhenhua-B19537
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.