diff options
author | Ziyan <jaraidaniel@gmail.com> | 2014-11-27 19:56:50 +0100 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2014-12-13 00:39:23 +0100 |
commit | f4d6bd93dc0010cd69ef463bd812398743c0eafd (patch) | |
tree | 23e4dd9d7ed6f58329c40ba6327c69a2e551b725 /libsensors/LightSensor.h | |
parent | a268a90a8d7a1a681864d535835da3a18a61a8f9 (diff) | |
download | device_samsung_tuna-f4d6bd93dc0010cd69ef463bd812398743c0eafd.zip device_samsung_tuna-f4d6bd93dc0010cd69ef463bd812398743c0eafd.tar.gz device_samsung_tuna-f4d6bd93dc0010cd69ef463bd812398743c0eafd.tar.bz2 |
tuna: simplify /factory partition handling
Currently, we do the following sequence on every bootup:
1. mount /factory ro (fstab)
2. remount /factory as rw
3. update selinux labels on the partition
4. remount /factory as ro
By mounting /factory in rw mode from the fstab, we can avoid the second step,
simplifying the bootup sequence.
Also replaced the restorecons with one restorecon_recursive,
which does the same task in one line.
And lastly, removed some unnecessary chown/chmods - remounting
does not overwrite the permissions and the owner.
Diffstat (limited to 'libsensors/LightSensor.h')
0 files changed, 0 insertions, 0 deletions