mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
initrd: don't include /mnt in the initrd
With the move to compose/volume mounts this now includes the current directory. Noticed it when my initrds were getting bigger and bigger. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
e003a56326
commit
2b911247af
@ -4,7 +4,7 @@ set -e
|
|||||||
|
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
|
||||||
for f in $(ls | grep -vE 'dev|sys|proc|tmp|export')
|
for f in $(ls | grep -vE 'dev|sys|proc|tmp|export|mnt')
|
||||||
do
|
do
|
||||||
cp -a $f /tmp
|
cp -a $f /tmp
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user