Revert back to system partition
This commit is contained in:
parent
507d861eaf
commit
6d27c36b65
3 changed files with 13 additions and 15 deletions
|
@ -1,5 +1,7 @@
|
|||
/dev/block/mmcblk0p2 /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
/dev/block/mmcblk0p3 /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
/dev/block/mmcblk0p1 /bootloader vfat rw,umask=0077 wait
|
||||
/dev/block/mmcblk0p2 /system ext4 ro,barrier=1 wait
|
||||
/dev/block/mmcblk0p3 /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
/dev/block/mmcblk0p4 /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
|
||||
/devices/soc.0/1c10000.sdmmc/mmc_host/mmc* auto auto defaults voldmanaged=sdcard1:auto
|
||||
/devices/soc.0/1c1a000.ehci0-controller/usb* auto auto defaults voldmanaged=usb:auto
|
||||
|
|
|
@ -22,11 +22,6 @@ on early-fs
|
|||
|
||||
exec u:r:su:s0 root -- /sbin/busybox sh /initialize_disk.sh
|
||||
|
||||
# mount boot and system
|
||||
# it has to be here as mount_all does not support loopback
|
||||
mount vfat /dev/block/mmcblk0p1 /bootloader rw wait
|
||||
mount ext4 loop@/bootloader/system.img /system rw wait barrier=1
|
||||
|
||||
mount_all /fstab.sun50iw1p1
|
||||
swapon_all /fstab.sun50iw1p1
|
||||
restorecon_recursive /persist
|
||||
|
|
|
@ -4,13 +4,14 @@
|
|||
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
|
||||
|
||||
/dev/block/mmcblk0p1 /bootloader vfat defaults defaults
|
||||
loop@/bootloader/system.img /system ext4 defaults defaults
|
||||
/dev/block/mmcblk0p2 /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
/dev/block/mmcblk0p3 /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
/dev/block/mmcblk0p2 /system ext4 defaults defaults
|
||||
/dev/block/mmcblk0p3 /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
/dev/block/mmcblk0p4 /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
|
||||
/dev/block/mmcblk0p1 /sdcard vfat defaults defaults
|
||||
/bootloader/boot.img /boot emmc defaults defaults
|
||||
/bootloader/recovery.img /recovery emmc defaults defaults
|
||||
|
||||
/dev/block/mmcblk1p1 /extsd vfat defaults defaults
|
||||
/dev/block/mmcblk1 /extsd vfat defaults defaults
|
||||
/dev/block/sda1 /usbhost vfat defaults defaults
|
||||
/dev/block/sda /usbhost vfat defaults defaults
|
||||
/dev/block/mmcblk1p1 /sdcard vfat defaults defaults
|
||||
/dev/block/mmcblk1 /sdcard vfat defaults defaults
|
||||
/dev/block/sda1 /sdcard vfat defaults defaults
|
||||
/dev/block/sda /sdcard vfat defaults defaults
|
||||
|
|
Loading…
Reference in a new issue