[OE-core] [PATCH 1/1] image.bbclass: remove non-standard -n option from cp command

Saul Wold sgw at linux.intel.com
Tue Aug 23 15:12:24 UTC 2011


On 08/23/2011 03:11 AM, Paul Eggleton wrote:
> -n is not a POSIX option and does not work on some systems (e.g. Debian
> Lenny); in any case it is not strictly necessary here, so remove it.
>
> Signed-off-by: Paul Eggleton<paul.eggleton at linux.intel.com>
> ---
>   meta/classes/image.bbclass |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index 286ae01..bf8b73a 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -138,7 +138,7 @@ fakeroot do_rootfs () {
>   	mkdir -p ${IMAGE_ROOTFS}
>   	mkdir -p ${DEPLOY_DIR_IMAGE}
>
> -	cp -n ${COREBASE}/meta/files/deploydir_readme.txt ${DEPLOY_DIR_IMAGE}/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
> +	cp ${COREBASE}/meta/files/deploydir_readme.txt ${DEPLOY_DIR_IMAGE}/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
>
>   	if [ "${USE_DEVFS}" != "1" ]; then
>   		for devtable in ${@get_devtable_list(d)}; do
Paul,

Is this in addition to the previous image.bbclass patch you provided? 
If so, there are 2 usages of -n in original patch that is merged.

Sau!




More information about the Openembedded-core mailing list