xbps-src: drop fakeroot; xbps-create(8) is our friend.
- This should work for almost 90% current packages, as reported by OpenBSD/ports. - Packages that use install -o <user> -g <group> will get fixed progressively. - xbps-create(8) by default sets pkg files as 0:0, if any pkg needs special permissions those can be set via INSTALL scripts (for now).
This commit is contained in:
parent
b157085af7
commit
1ce278f035
5 changed files with 12 additions and 24 deletions
|
@ -13,7 +13,7 @@ remove_pkg_cross_deps() {
|
|||
XBPS_REMOVE_XCMD="env XBPS_TARGET_ARCH=$XBPS_TARGET_ARCH xbps-remove -r /usr/$XBPS_CROSS_TRIPLET"
|
||||
fi
|
||||
|
||||
$FAKEROOT_CMD $XBPS_REMOVE_XCMD -Ryo > $tmplogf 2>&1
|
||||
$XBPS_REMOVE_XCMD -Ryo > $tmplogf 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
msg_red "${pkgver:-xbps-src}: failed to remove autocrossdeps:\n"
|
||||
cat $tmplogf && rm -f $tmplogf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue