aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/genrootfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genrootfs.sh')
-rwxr-xr-xscripts/genrootfs.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh
index 5118027632..59eed20f97 100755
--- a/scripts/genrootfs.sh
+++ b/scripts/genrootfs.sh
@@ -54,6 +54,4 @@ http://dl-cdn.alpinelinux.org/alpine/$branch/main
http://dl-cdn.alpinelinux.org/alpine/$branch/community
EOF
-#rm -rf "$tmp"/var/cache/apk/*
-
-tar --numeric-owner -c -C "$tmp" . | gzip -9n > "$outfile"
+tar --numeric-owner --exclude='dev/*' -c -C "$tmp" . | gzip -9n > "$outfile"