summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-2.6.29/omap3-touchbook/aufs-squashfs-mount-to-avoid-initramfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-omap-2.6.29/omap3-touchbook/aufs-squashfs-mount-to-avoid-initramfs.patch')
-rw-r--r--recipes/linux/linux-omap-2.6.29/omap3-touchbook/aufs-squashfs-mount-to-avoid-initramfs.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/linux/linux-omap-2.6.29/omap3-touchbook/aufs-squashfs-mount-to-avoid-initramfs.patch b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/aufs-squashfs-mount-to-avoid-initramfs.patch
index 9a9b982fef..ed5cbfc1b9 100644
--- a/recipes/linux/linux-omap-2.6.29/omap3-touchbook/aufs-squashfs-mount-to-avoid-initramfs.patch
+++ b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/aufs-squashfs-mount-to-avoid-initramfs.patch
@@ -7,7 +7,7 @@
+ int do_special = 0;
+ if (strcmp(root_device_name, "special") == 0)
+ do_special = 1;
-+ //do_special = 1;
++ do_special = 1;
+
+ if (do_special) {
+ dev_t ROOT_DEV_RO;
@@ -24,7 +24,7 @@
+ }
+
+ sys_mkdir("/root-rw", 0700);
-+ ROOT_DEV_RW = name_to_dev_t("/dev/mmcblk0p3");
++ ROOT_DEV_RW = name_to_dev_t("/dev/mmcblk0p4");
+ create_dev("/dev/root-rw", ROOT_DEV_RW);
+ if (sys_mount("/dev/root-rw", "/root-rw", "ext3", MS_SILENT, NULL) != 0)
+ goto no_special;