extras-buildsys README,1.5,1.6
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Thu Jul 7 04:05:49 UTC 2005
Author: dcbw
Update of /cvs/fedora/extras-buildsys
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12990
Modified Files:
README
Log Message:
Update it
Index: README
===================================================================
RCS file: /cvs/fedora/extras-buildsys/README,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- README 28 Jun 2005 16:46:11 -0000 1.5
+++ README 7 Jul 2005 04:05:46 -0000 1.6
@@ -18,12 +18,12 @@
Builder Setup:
1) In the CVS checkout directory on the client, execute:
make DESTDIR=/ install
-2) Create a user for the builder. The builder _cannot_ run as 'root' (since mock cannot run as 'root')
+2) Create a user for the builder. The builder drops root privileges before running the build, but must have root to be able to do initial setup
3) Copy the client Key, Cert, and CA Cert to the /etc/plague/builder/certs directory
4) Things to modify in the client's CONFIG.py:
- Modify the 'distro' and 'repo' options to match the targets you've configured in /etc/mock/. These targets are usually in the form of "distro-target-arch-repo". 'arch' and 'target' are passed by the build system dynamically, but 'distro' and 'repo' are hardcoded in the config file. Examples are "fedora-development-i386-core" and "fedora-development-i386-extras".
5) Configure the mock target files in /etc/mock. You only need one target file for each major arch you support. For example, you don't need separate 'ia32e' or 'amd64' config files, since these just use the normal 'x86_64' config file
-6) Start the client, NOT as 'root'. ex: "sudo -u builder /usr/bin/plague-builder 127.0.0.1 i386 i686"
+6) Start the client. ex: "/usr/bin/plague-builder 127.0.0.1 i386 i686"
On the Server:
More information about the fedora-extras-commits
mailing list