3 Missing packages on fresh PLD vserver installation:
9 rpm-build-tools >= 4.5-3
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
29 mkdir ~/rpm/cleanRPMS.repo
32 svn co http://svn.pld-linux.org/svn/toys/tools/cleanbuild
35 echo 'USER="builder"' > .cleanbuildrc
39 If you are inside vserver, you need to have following context capabilities
40 (add these lines to /etc/vserver/<name>/ccapabilities):
44 And following system capabilities (add these lines to
45 /etc/vserver/<name>/bcapabilities):
54 You can create yourself alias for easier invocation from regular user:
55 alias cleanbuild='_cleanbuild() { sudo -H -u builder sh -c "cd ~/cleanbuild && ./cleanbuild $*"; }; _cleanbuild'