diff options
-rwxr-xr-x | scripts/genrootfs.sh | 4 |
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" |