[LEDE-DEV] [PATCH v2 3/3] ext4: only fclose file if opening has succeeded

2016-08-09 Thread josua . mayer97
From: Josua Mayer Signed-off-by: Josua Mayer --- libfstools/ext4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfstools/ext4.c b/libfstools/ext4.c index f648aa8..454b15e 100644 --- a/libfstools/ext4.c +++ b/libfstools/ext4.c @@ -129,8 +129,8 @@ static int check_for_mtd

[LEDE-DEV] [PATCH 1/3] fstools: support for ext4fs overlay

2016-08-09 Thread josua . mayer97
From: Ram Chandra Jangir This change will enables eMMC (ext4 fs) boot support, when we try to boot from eMMC card then it will read partition names from /sys/block/mmcblkX/mmcblkXY/uevent file and will mount the rootfs_data partition as ext4fs overlay. Signed-off-by: Ram Chandra Jangir --- CMa

[LEDE-DEV] [PATCH v2 1/3] fstools: support for ext4fs overlay

2016-08-09 Thread josua . mayer97
From: Ram Chandra Jangir This change will enables eMMC (ext4 fs) boot support, when we try to boot from eMMC card then it will read partition names from /sys/block/mmcblkX/mmcblkXY/uevent file and will mount the rootfs_data partition as ext4fs overlay. Signed-off-by: Ram Chandra Jangir --- CMa

[LEDE-DEV] [PATCH v2 2/3] mount_root: Don't mount ext4 rootfs twice

2016-08-09 Thread josua . mayer97
From: Josua Mayer When there is a) no rootfs_data overlay partition, and b) /dev/root points to an ext4 partition the partition would be mounted twice, once as / and then as /overlay. The essence of this change is to return before mounting /overlay, if /dev/root has been mounted as /. Signed-off

[LEDE-DEV] [PATCH 1/2] fstools: support for ext4fs overlay

2016-06-29 Thread josua . mayer97
From: Ram Chandra Jangir This change will enables eMMC (ext4 fs) boot support, when we try to boot from eMMC card then it will read partition names from /sys/block/mmcblkX/mmcblkXY/uevent file and will mount the rootfs_data partition as ext4fs overlay. Signed-off-by: Ram Chandra Jangir --- CMa

[LEDE-DEV] [PATCH 2/2] mount_root: Don't mount ext4 rootfs twice

2016-06-29 Thread josua . mayer97
From: Josua Mayer When there is a) no rootfs_data overlay partition, and b) /dev/root points to an ext4 partition the partition would be mounted twice, once as / and then as /overlay. The essence of this change is to return before mounting /overlay, if /dev/root has been mounted as /. Signed-off

[LEDE-DEV] [PATCH v2] mount_root: implement overlay= boot option

2016-05-10 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the partition name: i.e. /dev/mmcblk0p3, mmcblk0p3, rootfs_data This op

[LEDE-DEV] [PATCH] mount_root: implement overlay= boot option

2016-05-10 Thread josua . mayer97
From: Josua Mayer This change adds code to handle a new option on cmdline: overlay= This is used to find the rootfs_data partition / disk when it has a non-standard name or location. It takes either the device node name, or the partition name: i.e. /dev/mmcblk0p3, mmcblk0p3, rootfs_data This op