[oe] [meta-oe][PATCH] stop trying to remove folders that do not exist

Martin Jansa martin.jansa at gmail.com
Tue Jul 15 18:07:18 UTC 2014


On Tue, Jul 15, 2014 at 11:01:55AM -0700, Stephano Cetola wrote:
> From: Stephano Cetola <scetola at reachtech.com>
> 
> The directory ${D}/${TMPDIR} does not exist. This patch removes code
> that was calling rm and rmdir on that location.

this doesn't match with the diff

> 
> Signed-off-by: Stephano Cetola <scetola at reachtech.com>
> ---
>  meta-oe/recipes-devtools/php/php.inc |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
> index b1bf79c..000316b 100644
> --- a/meta-oe/recipes-devtools/php/php.inc
> +++ b/meta-oe/recipes-devtools/php/php.inc
> @@ -90,6 +90,12 @@ do_install_append_pn-php() {
>      sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm
>      install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm
>      TMP=`dirname ${D}/${TMPDIR}`
> +    bbwarn "D"
> +    bbwarn ${D}
> +    bbwarn "TMPDIR"
> +    bbwarn ${TMPDIR}
> +    bbwarn "TMP"
> +    bbwarn ${TMP}
>      while test ${TMP} != ${D}; do
>          rmdir ${TMP}
>          TMP=`dirname ${TMP}`;
> -- 
> 1.7.10.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140715/dbbc7978/attachment-0002.sig>


More information about the Openembedded-devel mailing list