debian: do not give access to host /run

This commit is contained in:
Marek Marczykowski-Górecki 2014-12-01 20:12:45 +01:00
parent 2b1cb2f323
commit 7bae8ae353
2 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,8 @@ fi
# ------------------------------------------------------------------------------
# Mount system mount points
# ------------------------------------------------------------------------------
for fs in /dev /dev/pts /proc /sys /run; do mount -B $fs "${INSTALLDIR}/$fs"; done
for fs in /dev /dev/pts /proc /sys; do mount -B $fs "${INSTALLDIR}/$fs"; done
mount -t tmpfs none "${INSTALLDIR}/run"
# ------------------------------------------------------------------------------
# Execute any template flavor or sub flavor 'pre' scripts

View File

@ -27,7 +27,8 @@ fi
# ------------------------------------------------------------------------------
# Mount system mount points
# ------------------------------------------------------------------------------
for fs in /dev /dev/pts /proc /sys /run; do mount -B $fs "${INSTALLDIR}/$fs"; done
for fs in /dev /dev/pts /proc /sys; do mount -B $fs "${INSTALLDIR}/$fs"; done
mount -t tmpfs none "${INSTALLDIR}/run"
# ------------------------------------------------------------------------------
# Execute any template flavor or sub flavor 'pre' scripts