wiki3762: BulkBuild (Version 5) | ||
Bulk Build on QNX (WIP)#There's various pages out there describing bulk builds on various platforms, all slightly different. Here's one more. Base install separation#If you look around you'll see that most people try to do their build in a sandbox of some sort. There's various ways to to this on each platform. I actually did a bulk build in a chroot on QNX once but it wasn't stock :). Here's the layout I'm using now:
When performing setup and administration on the box I build from the normal qnxbasesmp image. When doing an actual bulk build I boot from the qnxbasebulk image. To make the system usable in either configuration I add procmgr symlinks for /tmp, /home and /var to the work partition which is read / write in either case. Two other directories are used during bulk builds as I have them configured: /pbulk and /usr/pkg. /pbulk is where I check out the pkgsrc repository and where I install packages required by the controlling part of the build (the outer layer). /usr/pkg is where resulting packages created by this outer layer are staged before being tarred up in a binary package. In pkgsrc parlance the outer layer controls the inner layer which builds packages with the same default prefix of /usr/pkg that would normally be used if one were to build packages themselves outside of a bulk build. Here's a sample /etc/rc.d/rc.local that sets up these links BulkBuild/rc.local.
|
||
Versions | Associations | Attachments (3) | Back Links | |||||||