Hi Marek,

On 01/04/2014 22:41, Marek Vasut wrote:
> Mount the /dev/mmcblk0p2 as /boot on M28EVK in the SD card images.
> 
> Signed-off-by: Marek Vasut <[email protected]>
> Cc: Wolfgang Denk <[email protected]>
> ---
>  meta-eldk/classes/image_types_m28evk.bbclass | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-eldk/classes/image_types_m28evk.bbclass 
> b/meta-eldk/classes/image_types_m28evk.bbclass
> index eb9f2d5..665246e 100644
> --- a/meta-eldk/classes/image_types_m28evk.bbclass
> +++ b/meta-eldk/classes/image_types_m28evk.bbclass
> @@ -187,4 +187,11 @@ EOF
>       echo "13324 39 -1639788 10 -8255 33154716 65536" > 
> ${IMAGE_ROOTFS}/etc/pointercal
>  }
>  
> -ROOTFS_POSTPROCESS_COMMAND += "m28evk_add_ts_cal ; "
> +# Add /boot mountpoint into fstab
> +m28evk_mount_boot() {
> +     cat << EOF >> ${IMAGE_ROOTFS}/etc/fstab
> +/dev/mmcblk0p2       /boot                auto       defaults              0 
>  0
> +EOF
> +}
> +
> +ROOTFS_POSTPROCESS_COMMAND += "m28evk_add_ts_cal ; m28evk_mount_boot ; "

Why have you not written a base-files_3.0.14.bbappend receipe adding the
change you want ? Of course, it is always possible to modify the rootfs
after creation, but it seems a hack.

Same comment is worth for m53evk, of course..

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
_______________________________________________
eldk mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/eldk

Reply via email to