3 Missing packages on fresh PLD vserver installation:
15 # Install all dependencies
17 # configure passwordless sudo for user you use for cleanbuild
20 # add something like (assuming you have 'builder' as dedicated account)
21 builder ALL=(ALL) NOPASSWD: ALL
22 Defaults:builder env_keep += USER
25 builder --init-rpm-dir
30 (press enter when asked for password)
34 mkdir ~/rpm/cleanRPMS.repo
37 svn co http://svn.pld-linux.org/svn/toys/tools/cleanbuild
40 echo 'USER="cleanbuilduser"' > .cleanbuildrc
44 If you are inside vserver, you need to have following context capabilities
45 (add these lines to /etc/vserver/<name>/ccapabilities):
49 And following system capabilities (add these lines to
50 /etc/vserver/<name>/bcapabilities):
57 ./cleanbuild somepkg.spec
59 You can create yourself alias for easier invocation from regular user:
60 alias cleanbuild='_cleanbuild() { sudo -H -u builder sh -c "cd ~/cleanbuild && ./cleanbuild $*"; }; _cleanbuild'