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

Gary Thomas gary at mlbassoc.com
Tue Jul 15 18:06:05 UTC 2014


On 2014-07-15 12:01, 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.
>
> 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}`;
>

The actual patch does not do what the summary claims.  Are you
sure this is what you wanted to send/commit?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the Openembedded-devel mailing list