mirror of
https://github.com/pygos/build.git
synced 2024-11-22 02:59:47 +01:00
Fix ownership & flags for root overlay
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
bcd68ce86a
commit
0ad59dd239
4 changed files with 8 additions and 0 deletions
|
@ -48,6 +48,8 @@ MOUNTED=1
|
|||
mkdir /tmp/mnt.$$/etc /tmp/mnt.$$/etc_work
|
||||
mkdir /tmp/mnt.$$/var_lib /tmp/mnt.$$/var_lib_work
|
||||
mkdir /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chmod 750 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chown 0:0 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
umount /tmp/mnt.$$
|
||||
MOUNTED=0
|
||||
|
||||
|
|
|
@ -58,6 +58,8 @@ MOUNTED=1
|
|||
mkdir /tmp/mnt.$$/etc /tmp/mnt.$$/etc_work
|
||||
mkdir /tmp/mnt.$$/var_lib /tmp/mnt.$$/var_lib_work
|
||||
mkdir /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chmod 750 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chown 0:0 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
umount /tmp/mnt.$$
|
||||
MOUNTED=0
|
||||
|
||||
|
|
|
@ -45,6 +45,8 @@ MOUNTED=1
|
|||
mkdir /tmp/mnt.$$/etc /tmp/mnt.$$/etc_work
|
||||
mkdir /tmp/mnt.$$/var_lib /tmp/mnt.$$/var_lib_work
|
||||
mkdir /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chmod 750 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chown 0:0 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
umount /tmp/mnt.$$
|
||||
MOUNTED=0
|
||||
|
||||
|
|
|
@ -55,6 +55,8 @@ MOUNTED=1
|
|||
mkdir /tmp/mnt.$$/etc /tmp/mnt.$$/etc_work
|
||||
mkdir /tmp/mnt.$$/var_lib /tmp/mnt.$$/var_lib_work
|
||||
mkdir /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chmod 750 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
chown 0:0 /tmp/mnt.$$/root /tmp/mnt.$$/root_work
|
||||
umount /tmp/mnt.$$
|
||||
MOUNTED=0
|
||||
|
||||
|
|
Loading…
Reference in a new issue