Kaarle Ritvanen
e3a2e14ffa
abuild: build in chroot
...
This patch is based on earlier work by Timo Teräs.
2017-06-27 14:52:50 +03:00
Kaarle Ritvanen
5a4e6f3889
abuild-sudo: enforce correct value for USER
2017-06-27 14:52:50 +03:00
Kaarle Ritvanen
440bb02fd7
abuild-sudo: allow commands with '-' in the name
2017-06-27 14:52:50 +03:00
Henrik Riomar
5268ae8076
abuild-sudo.c: setgid as well
...
set our gid to root so apk commit hooks run with the same gid as when
running "sudo apk add ..." from command line.
2017-06-21 18:14:48 +00:00
Natanael Copa
bd5636c916
abuild-sudo: error check getlogin()
2016-04-14 11:52:59 +00:00
Jakub Jirutka
5487632f30
abuild-sudo: make error msg "Not a member of group abuild" more clear
...
Few days ago some user on IRC pointed out that the current error message:
abuild-apk: Not a member of group abuild
is confusing. He was trying to build a package using abuild -r and
didn't know what this message means.
fixes #5408
2016-04-14 11:52:36 +00:00
Natanael Copa
a1baec0f6b
abuild-sudo: forbid use of --allow-untrusted
...
It means that home built packages cannot be installed with abuild-apk
unless the key is installed system-wide.
2013-12-16 10:21:28 +00:00
Dubiousjim
e1339a9b77
various: add descriptions, attribution, license
2013-07-08 14:48:56 +00:00
Dubiousjim
3417b45a1b
abuild-sudo, abuild-tar: cosmetic changes
2013-07-08 14:47:39 +00:00
Natanael Copa
4423ab7b51
abuild-sudo: also look for adduser/group in /usr/sbin
...
seems like it moved in recent busybox. we need to support both variants
2013-05-29 15:07:27 +02:00
Natanael Copa
38ab58a5d6
abuild-sudo: print error message if execv fails
2013-05-29 15:01:00 +02:00
Natanael Copa
442e804291
abuild-sudo: new tool
...
mini sudo that checks if user is in "abuild" group and allows it to
run apk, adduser adn addgroup as root
ref #951
2012-02-17 13:28:22 +00:00