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

Marek Vasut marex at denx.de
Tue Apr 1 22:41:44 CEST 2014


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 ; "
-- 
1.9.0



More information about the eldk mailing list