[ELDK] [PATCH 06/10] META-ELDK: Mount /boot on M28EVK

Marek Vasut marex at denx.de
Thu Jul 24 02:44:27 CEST 2014


On Wednesday, April 09, 2014 at 12:50:45 PM, Stefano Babic wrote:
> 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 <marex at denx.de>
> > Cc: Wolfgang Denk <wd at denx.de>
> > ---
> > 
> >  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..

Finally fixed, patch will follow.

Best regards,
Marek Vasut


More information about the eldk mailing list