Last active
February 13, 2020 08:40
-
-
Save shakalaca/4d5dcbc6698e8020490a662aafdd6343 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/device.mk b/device.mk | |
index f1399b1..4cfc595 100644 | |
--- a/device.mk | |
+++ b/device.mk | |
@@ -47,6 +47,9 @@ PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile | |
# for gms modules. | |
PRODUCT_ALWAYS_PREOPT_EXTRACTED_APK := true | |
+PRODUCT_COPY_FILES += \ | |
+ $(LOCAL_PATH)/rootdir/etc/fstab.mako:$(TARGET_COPY_OUT_RAMDISK)/fstab.mako | |
+ | |
# Audio | |
PRODUCT_PACKAGES += \ | |
android.hardware.audio@2.0-impl \ | |
diff --git a/rootdir/etc/fstab.mako b/rootdir/etc/fstab.mako | |
index 110db6a..043449d 100644 | |
--- a/rootdir/etc/fstab.mako | |
+++ b/rootdir/etc/fstab.mako | |
@@ -3,7 +3,7 @@ | |
# The filesystem that contains the filesystem checker binary (typically /system) cannot | |
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK | |
-/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly | |
+/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly,first_stage_mount | |
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,noauto_da_alloc,nobarrier wait,check,formattable,latemount,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata | |
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,inline_xattr wait,check,formattable,latemount,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata | |
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,noatime,nosuid,nodev,barrier=1,data=ordered wait,check,formattable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment