sdm660-common: rootdir: remove redundant swapon_all command

* this won't cause zram not to work, but will cause dmesg spit a
"denied" warning
* removing swapon in "fs" scope following aosp instruction
* ref -> https://source.android.com/docs/core/perf/boot-times

Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Alcatraz323 2023-09-14 17:03:49 +08:00 committed by pix106
parent 49b6570b78
commit cd42dff553

View file

@ -144,7 +144,6 @@ on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
mount_all /vendor/etc/fstab.qcom
swapon_all /vendor/etc/fstab.qcom
chown root system /mnt/vendor/persist
chmod 0771 /mnt/vendor/persist
mkdir /mnt/vendor/persist/data 0700 system system