Fix group owner of overlay files

Need to set the GID owner of all files copied in from the overlay
directory to *root*/`0`, to match the user/UID.
pull/1/head
Dustin 2022-04-06 18:42:47 -05:00
parent 878f733025
commit cd4144293b
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ cp -p \
"${srcdir}"/config.txt \
"${destdir}"/boot/efi
tar --owner root:0 -C "${srcdir}/overlay" -c . \
tar --owner root:0 --group root:0 -C "${srcdir}/overlay" -c . \
| tar -C "${destdir}" -x
chown -R 1000:1000 "${destdir}"/home/user
if ! grep -q ^user: "${destdir}"/etc/group; then