mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-14 06:09:48 +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:
@@ -4,7 +4,7 @@ set -e
|
||||
|
||||
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
|
||||
cp -a $f /tmp
|
||||
done
|
||||
|
Reference in New Issue
Block a user