[meta-ti] [PATCH] beaglebone-getting-started: Use cp options to not alter file mode

Denys Dmytriyenko denys at ti.com
Fri Oct 12 12:58:01 PDT 2018


Are you still trying to do world builds? :)

Most of the places with this QA warning that are part of our builds were fixed 
before, but there are some outdated recipes like this one which were left out.


On Fri, Oct 12, 2018 at 12:50:00PM -0700, Khem Raj wrote:
> Fixes do_package_qa warnings
> <FILE> is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> index 603a01a7..6c61a4e9 100644
> --- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
> +++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
> @@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
>  
>  do_install() {
>  	install -d ${D}${datadir}/${PN}
> -	cp -a ${S}/* ${D}${datadir}/${PN}
> +	cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
>  }
>  
>  FILES_${PN} += "${datadir}/${PN}"
> -- 
> 2.19.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list