On 16 September 2016 at 13:40, Chris Trobridge <christrobri...@hotmail.com>
wrote:

> The install line in the makefile is "cp -af $(APP_LIBXX_FILES)
> $(DESTDIR)$(libdir)/", so I am at a bit of a loss as this should preserve
> ownership.
>

It does - the build happens as you (uid 1000) so the file gets installed as
1000.  This is why makefiles should generally use "install" instead, as
that will reset owner.  automake has built in support for this, otherwise
just patch out "cp" and use "install" instead.

Oh and:

inherit autotools pkgconfig
B = "${S}"

Just inherit autotools-brokensep instead.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to