debian: do not give access to host /run
This commit is contained in:
parent
2b1cb2f323
commit
7bae8ae353
@ -28,7 +28,8 @@ fi
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Mount system mount points
|
# 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
|
# Execute any template flavor or sub flavor 'pre' scripts
|
||||||
|
@ -27,7 +27,8 @@ fi
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Mount system mount points
|
# 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
|
# Execute any template flavor or sub flavor 'pre' scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user