1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-12-23 23:50:51 +01:00

Fix ownership & flags for root overlay

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-01-29 10:27:49 +01:00
parent bcd68ce86a
commit 0ad59dd239
4 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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