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:
Juan RP 2014-09-24 19:51:17 +02:00
parent b157085af7
commit 1ce278f035
5 changed files with 12 additions and 24 deletions

View file

@ -52,13 +52,6 @@ msg_red_nochroot() {
msg_error() {
msg_red "$@"
kill -INT $$; exit 1
}
msg_error_nochroot() {
[ -n "$NOCOLORS" ] || printf >&2 "\033[1m\033[31m"
printf >&2 "=> ERROR: $@"
[ -n "$NOCOLORS" ] || printf >&2 "\033[m"
exit 1
}