[OE-core] [PATCH] eglibc: Update SRC_URI and fix unpackaged empty dir
Riku Voipio
riku.voipio at linaro.org
Mon Aug 26 09:37:18 UTC 2013
Hi,
On 21 August 2013 08:45, Khem Raj <raj.khem at gmail.com> wrote:
> diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
> index a590cce..1a23805 100644
> --- a/meta/recipes-core/eglibc/eglibc-package.inc
> +++ b/meta/recipes-core/eglibc/eglibc-package.inc
> @@ -76,6 +76,10 @@ do_install_append () {
> rm -f ${D}${sysconfdir}/localtime
> rm -rf ${D}${localstatedir}
>
> + # remove empty eglibc dir
> + if [ -d ${D}${libdir}/eglibc ]; then
> + rmdir ${D}${libdir}/eglibc
> + fi
> oe_multilib_header bits/syscall.h
>
> if [ -f ${D}${bindir}/mtrace ]; then
This breaks in the case the directory exists and is not empty - which
is the case when you build with eglibc-2.17. In that case there is a
pt_chown binary. pt_chown is deprecated since devpts was invented, and
now removed in 2.18.
Riku
More information about the Openembedded-core
mailing list