diff --git a/scripts/genrootfs.sh b/scripts/genrootfs.sh index 51180276324e0f520468951ed6c48c557e5a9449..59eed20f9788ad1a7dca8bc382f116eeb5fc6d44 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"