mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
Remove journaling from read-only FS to save space
The read-only partitions don't need journaling. Bug: 18430740 Change-Id: I93303aae534f02c6ae412323c9ebb0c0b7b35290
This commit is contained in:
parent
d7add466b8
commit
4bd5d44b09
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@
|
|||
import common
|
||||
import struct
|
||||
|
||||
def IncrementalOTA_InstallBegin(info):
|
||||
info.script.Unmount("/system")
|
||||
info.script.TunePartition("/system", "-O", "^has_journal")
|
||||
info.script.Mount("/system")
|
||||
|
||||
def FullOTA_PostValidate(info):
|
||||
# run e2fsck
|
||||
info.script.AppendExtra('run_program("/sbin/e2fsck", "-fy", "/dev/block/platform/msm_sdcc.1/by-name/system");');
|
||||
|
|
Loading…
Reference in a new issue