blob: 860220fb00b04e7c8c3822227e15e329fca0dd5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
on early-init
mkdir /cust 0775 system system
on init
mkdir /cust 0775 system system
on fs
wait /dev/block/bootdevice/by-name/cust
mount erofs /dev/block/bootdevice/by-name/cust /cust ro
chown system system /cust
chmod 0775 /cust
on post-fs
# We chown/chmod /cust again so because mount is run as root + defaults
chown system system /cust
chmod 0775 /cust
# We restorecon /cust in case the cust partition has been reset.
restorecon_recursive /cust
# create the lost+found directories, so as to enforce our permissions
mkdir /cust/lost+found 0770 root root
|