ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #01627
[PATCH] Removing nodev from /data to allow usage of ubuntu-like chroots
Hey,
Follows the same patch for the 4 nexus based devices we support, all
removing nodev from /data. This is useful in case you want to create
ubuntu-like chroots to build packages for different series.
Thanks,
--
Ricardo Salveti de Araujo
>From 5e47981a03448ab45eb12e09989b2b98b392b7e3 Mon Sep 17 00:00:00 2001
From: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
Date: Wed, 10 Apr 2013 00:41:08 -0300
Subject: [PATCH] fstab.grouper: removing nodev from /data to allow ubuntu-like
chroots
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
---
fstab.grouper | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fstab.grouper b/fstab.grouper
index fa23305..ccd4543 100644
--- a/fstab.grouper
+++ b/fstab.grouper
@@ -6,5 +6,5 @@
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro wait
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 discard,noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait
-/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 discard,noatime,nodev,nomblk_io_submit,errors=panic wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
+/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 discard,noatime,nomblk_io_submit,errors=panic wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
--
1.8.1.2
>From 04e03b56c68cc44fcc829aaea9ef0422731d4374 Mon Sep 17 00:00:00 2001
From: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
Date: Wed, 10 Apr 2013 00:39:36 -0300
Subject: [PATCH] fstab.mako: removing nodev from /data to allow ubuntu-like
chroots
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
---
fstab.mako | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fstab.mako b/fstab.mako
index 6384e96..60abc60 100644
--- a/fstab.mako
+++ b/fstab.mako
@@ -5,6 +5,6 @@
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check
-/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nodev,barrier=1,data=ordered,noauto_da_alloc wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
+/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,barrier=1,data=ordered,noauto_da_alloc wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc wait
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,uid=1000,gid=1000,dmask=227,fmask=337 wait
--
1.8.1.2
>From 8557d27b7cd588c7d6885c2645b6a38492f3ea12 Mon Sep 17 00:00:00 2001
From: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
Date: Wed, 10 Apr 2013 00:37:16 -0300
Subject: [PATCH] fstab.manta: removing nodev from /data to allow ubuntu-like
chroots
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
---
fstab.manta | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fstab.manta b/fstab.manta
index 5aff270..0677221 100644
--- a/fstab.manta
+++ b/fstab.manta
@@ -6,5 +6,5 @@
/dev/block/platform/dw_mmc.0/by-name/system /system ext4 ro wait
/dev/block/platform/dw_mmc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check
-/dev/block/platform/dw_mmc.0/by-name/userdata /data ext4 noatime,nodev,nomblk_io_submit,errors=panic wait,check,encryptable=/dev/block/platform/dw_mmc.0/by-name/metadata
+/dev/block/platform/dw_mmc.0/by-name/userdata /data ext4 noatime,nomblk_io_submit,errors=panic wait,check,encryptable=/dev/block/platform/dw_mmc.0/by-name/metadata
/dev/block/platform/dw_mmc.0/by-name/efs /factory ext4 noatime,nosuid,nodev,ro wait
--
1.8.1.2
>From 647a6cb2130c69c03c09cde46dc257db6dbcd5c0 Mon Sep 17 00:00:00 2001
From: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
Date: Wed, 10 Apr 2013 00:38:37 -0300
Subject: [PATCH] fstab.tuna: removing nodev from /data to allow ubuntu-like
chroots
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@xxxxxxxxxxxxx>
---
fstab.tuna | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fstab.tuna b/fstab.tuna
index dec641e..ec2ba91 100644
--- a/fstab.tuna
+++ b/fstab.tuna
@@ -7,5 +7,5 @@
/dev/block/platform/omap/omap_hsmmc.0/by-name/system /system ext4 ro wait
/dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ext4 ro wait
/dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check
-/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data ext4 noatime,nodev,nomblk_io_submit,errors=panic wait,check,encryptable=/dev/block/platform/omap/omap_hsmmc.0/by-name/metadata
+/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data ext4 noatime,nomblk_io_submit,errors=panic wait,check,encryptable=/dev/block/platform/omap/omap_hsmmc.0/by-name/metadata
--
1.8.1.2
Follow ups