diff --git a/mkinitcpio b/mkinitcpio index f5f03d5..dd84683 100755 --- a/mkinitcpio +++ b/mkinitcpio @@ -221,7 +221,7 @@ build_image() { # If this pipeline changes, |pipeprogs| below needs to be updated as well. find . -mindepth 1 -printf '%P\0' | sort -z | - LANG=C bsdtar --null -cnf - -T - | + LANG=C bsdtar --uid 0 --gid 0 --null -cnf - -T - | LANG=C bsdtar --uid 0 --gid 0 --null -cf - --format=newc @- | $compress "${COMPRESSION_OPTIONS[@]}" > "$out"