blob: d3fd47a5270b46223456516b5be6b4fa2107ae1c (
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 ext4 /dev/block/bootdevice/by-name/cust /cust ro noatime nosuid nodev barrier=1
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
|