sanders: Swap disk creation

Create swap disks

CRs-Fixed: 2264866

Change-Id: Id57a4e8d413c7dafb49d073980f10010003f616e
This commit is contained in:
Karthik Gopalan
2018-06-20 17:57:18 +05:30
committed by Jorge Lucas
parent 5ee1ebac4a
commit 69f79c2c89

View File

@@ -505,8 +505,8 @@ on post-fs-data
mkdir /data/vendor/misc/iop 0770 root system
#Create SWAP related dirs
mkdir /data/system/swap 0770 root system
chmod 2770 /data/system/swap
mkdir /data/vendor/swap 0770 root system
chmod 2770 /data/vendor/swap
# Force all SSR systems to 'related' so they attempt
# self-recovery without rebooting the device