diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-25 17:37:00 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-03-04 09:06:22 +0100 |
commit | df7242fddb9048738c0cdfaf0c3c227bf78f3da7 (patch) | |
tree | 93d90103179618fe595aa26a7bfab1a0afd55418 /meta-webserver | |
parent | 7396fc62068a41d2ad88cc03d0ca485279510d55 (diff) | |
download | meta-openembedded-df7242fddb9048738c0cdfaf0c3c227bf78f3da7.tar.gz |
recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
* Using "cp -a" leaks UID of user running the builds, causing
many QA warnings.
* See this thread for details:
http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r-- | meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb index b8faf1273..ac321857b 100644 --- a/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb +++ b/meta-webserver/recipes-php/phpmyadmin/phpmyadmin_4.5.0.2.bb | |||
@@ -20,7 +20,7 @@ inherit allarch | |||
20 | 20 | ||
21 | do_install() { | 21 | do_install() { |
22 | install -d ${D}${datadir}/${BPN} | 22 | install -d ${D}${datadir}/${BPN} |
23 | cp -a * ${D}${datadir}/${BPN} | 23 | cp -R --no-dereference --preserve=mode,links -v * ${D}${datadir}/${BPN} |
24 | chown -R root:root ${D}${datadir}/${BPN} | 24 | chown -R root:root ${D}${datadir}/${BPN} |
25 | # Don't install patches to target | 25 | # Don't install patches to target |
26 | rm -rf ${D}${datadir}/${BPN}/patches | 26 | rm -rf ${D}${datadir}/${BPN}/patches |