3 Missing packages on fresh PLD vserver installation:
15 # Install all dependencies
17 # configure passwordless sudo for user you use for cleanbuild
20 # cleanbuilduser ALL=(ALL) NOPASSWD: ALL
23 builder --init-rpm-dir
28 (press enter when asked for password)
32 mkdir ~/rpm/cleanRPMS.repo
35 svn co http://svn.pld-linux.org/svn/toys/tools/cleanbuild
38 echo 'USER="cleanbuilduser"' > .cleanbuildrc
42 If you are inside vserver, you need to have following context capabilities
43 (add these lines to /etc/vserver/<name>/ccapabilities):
47 And following system capabilities (add these lines to
48 /etc/vserver/<name>/bcapabilities):
55 ./cleanbuild somepkg.spec
57 You can create yourself alias for easier invocation from regular user:
58 alias cleanbuild='_cleanbuild() { sudo -H -u builder sh -c "cd ~/cleanbuild && ./cleanbuild $*"; }; _cleanbuild'