Fix ownership issues

This commit is contained in:
Ryan Hughes committed 2025-10-08 20:42:06 -04:00
1 parent 59a17acf88
commit 8f844655b7
2 files changed
+7

No files matched your search

+5
View File
@@ -63,3 +63,8 @@ cp $build_cache_dir/pacman.conf "$build_cache_dir/airootfs/etc/pacman.conf"
# Finally, we assemble the entire ISO
mkarchiso -v -w "$build_cache_dir/work/" -o "/out/" "$build_cache_dir/"
# Fix ownership of output files to match host user
if [ -n "$HOST_UID" ] && [ -n "$HOST_GID" ]; then
chown -R "$HOST_UID:$HOST_GID" /out/
fi