boot: create setcap-wrappers dir as a tmpfs
This commit is contained in:
parent
6fe93ae42a
commit
12a23b3d91
|
@ -141,6 +141,11 @@ if [ -n "@useHostResolvConf@" -a -e /etc/resolv.conf ]; then
|
||||||
cat /etc/resolv.conf | resolvconf -m 1000 -a host
|
cat /etc/resolv.conf | resolvconf -m 1000 -a host
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create /var/permissions-wrappers as a tmpfs.
|
||||||
|
rm -rf /var/permissions-wrappers
|
||||||
|
mkdir -m 0755 -p /var/permissions-wrappers
|
||||||
|
mount -t tmpfs -o "mode=0755" tmpfs /var/permissions-wrappers
|
||||||
|
|
||||||
# Log the script output to /dev/kmsg or /run/log/stage-2-init.log.
|
# Log the script output to /dev/kmsg or /run/log/stage-2-init.log.
|
||||||
# Only at this point are all the necessary prerequisites ready for these commands.
|
# Only at this point are all the necessary prerequisites ready for these commands.
|
||||||
exec {logOutFd}>&1 {logErrFd}>&2
|
exec {logOutFd}>&1 {logErrFd}>&2
|
||||||
|
|
Loading…
Reference in New Issue