[meta-ti] [Angstrom-devel] [PATCH meta-ti] sdcard_image: Copy user.txt/uEnv.txt if it exists in /boot
Koen Kooi
koen at dominion.thruhere.net
Wed Oct 19 22:40:44 PDT 2011
[added meta-ti list]
Op 20 okt. 2011, om 05:52 heeft Joel A Fernandes het volgende geschreven:
> Pick up uEnv.txt/user.txt U-boot environment files installed in /boot
This doesn't match what the patch does :/
>
> Signed-off-by: Joel A Fernandes <joelagnel at ti.com>
> ---
> classes/sdcard_image.bbclass | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass
> index ed9d779..c535ad2 100644
> --- a/classes/sdcard_image.bbclass
> +++ b/classes/sdcard_image.bbclass
> @@ -86,8 +86,10 @@ IMAGE_CMD_sdimg () {
> suffix=bin
> fi
>
> + cp -v ${IMAGE_ROOTFS}/boot/{user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot || true
> +
> if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then
> - cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix,user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot || true
> + cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} ${WORKDIR}/tmp-mnt-boot || true
Your patch is effectively a noop, I don't see the value in applying it.
regards,
Koen
More information about the meta-ti
mailing list