From 2b911247af41ed23a851b48a99c91b60a75b1d7f Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Mon, 7 Mar 2016 12:34:41 +0000 Subject: [PATCH] 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 --- alpine/mkinitrd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine/mkinitrd.sh b/alpine/mkinitrd.sh index 940cadf54..208469a39 100755 --- a/alpine/mkinitrd.sh +++ b/alpine/mkinitrd.sh @@ -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