From: Wenzong Fan <[email protected]>

Don't install local patch files to target.

Signed-off-by: Wenzong Fan <[email protected]>
---
 meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb 
b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb
index 49ca7da..7cc3604 100644
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.2.7.bb
@@ -21,6 +21,8 @@ inherit allarch
 do_install() {
     install -d ${D}${datadir}/${BPN}
     cp -a * ${D}${datadir}/${BPN}
+    # Don't install patches to target
+    rm -rf ${D}${datadir}/${BPN}/patches
 
     install -d ${D}${sysconfdir}/apache2/conf.d
     install -m 0644 ${WORKDIR}/apache.conf 
${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf
-- 
1.7.10.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to