Patchwork [7/7] phpmyadmin: remove dependency on bash

login
register
mail settings
Submitter Paul Eggleton
Date May 10, 2013, 6:09 p.m.
Message ID <f05dfc0deea48fa996c357bc124f38e2b4e5e44f.1368209302.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/49763/
State Accepted, archived
Commit fcc900a459a5331f51ca41dd5c63644c7ae4a29f
Headers show

Comments

Paul Eggleton - May 10, 2013, 6:09 p.m.
Remove some mostly superfluous scripts for adding additional mimetype
support that add an explicit dependency on bash.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-webserver/recipes-php/phpmyadmin/phpmyadmin_3.5.8.1.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_3.5.8.1.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_3.5.8.1.bb
index 54cacb5..e48e515 100644
--- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_3.5.8.1.bb
+++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_3.5.8.1.bb
@@ -21,6 +21,9 @@  do_install() {
 
     install -d ${D}${sysconfdir}/apache2/conf.d
     install -m 0644 ${WORKDIR}/apache.conf ${D}${sysconfdir}/apache2/conf.d/phpmyadmin.conf
+
+    # Remove a few scripts that explicitly require bash (!)
+    rm -f ${D}${datadir}/phpmyadmin/libraries/transformations/*.sh
 }
 
 FILES_${PN} = "${datadir}/${BPN} \