I have my SRCDEST folder owned by root:makepkg, where makepkg is a group
build users are given. This causes issues with the bind mount when using
makechrootpkg.
I am using this patch to resolve that problem.
Is there be any interest me to expand this out so a `makepkggrp` can be set
as an optional argument?
Cheers,
Ixil
25a26
> makepkg_grp=makepkg
158c159
< local builduser_uid builduser_gid
---
> local builduser_uid builduser_gid makepkggrp_gid
160a162
> makepkggrp_gid="$(getent group "$makepkg_grp" | cut -d: -f3)"
167a170
> sed -e '/^makepkggrp:/d' -i "$copydir"/etc/{group,gshadow}
170a173,175
> printf >>"$copydir/etc/group" 'makepkggrp:x:%d:builduser\n' "$makepkggrp_gid"
> printf >>"$copydir/etc/gshadow" 'makepkggrp:!::builduser\n'