Description

The builder is a restricted environment used by FreeSBIE developers/users to build a FreeSBIE ISO image using one of the availiable buildsets.

How to setup a builder environment

  1. Check out the builder and the buildsets cvs module on cvs.freesbie.org (Hint: checkout builder first, enter the builder directory and check buildsets out inside the builder directory)
  2. From the builder directory, as root, launch: env BUILDSET=builder BASEDIR=”/usr/local/builder” ./freesbiemake installworld, where /usr/local/builder is the location where you want to install your builder environment to.
  3. Prepare the restricted environment as follows:
    1. mount_devfs devfs /usr/local/builder/dev
    2. mount_nullfs $LOCATION_OF_BUILDER_BUILDSET_AND_FREESBIE_CHECKOUTS /usr/local/builder/root
    3. cp /etc/resolv.conf /usr/local/builder/etc/resolv.conf
    4. kldload g_md
    5. kldload linux
  4. Log in the builder environment: chroot /usr/local/builder /bin/tcsh
  5. Bootstrap the builder environment, installing the mandatory tools: /root/builder/bootstrap
  6. You’re now ready. You can build the buildset you wish, using /root/builder/completerun $YOURBUILDSET
 
freesbie2-builder.txt · Last modified: 04/04/2006 15:10 by rionda
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki