Quick start

This section will explain how to produce an test host-package for a vanilla Debian GNU/Linux 3.0 (aka. woody) machine.

Note: for now the tools are only available from CVS; this will be made available with a package soon. The machine configurations are intrinsically stored in CVS, and thus you'll need CVS access to them (until something is changed in the system architecture, which may come as well).

  1. ensure you have Linux kernel sources in /usr/src/linux-2.4.19.tar.bz2, or set the KernelSourceDir parameter, in /etc/host-pkg.conf or ~/.host-pkg.conf, to a directory holding this file.

    Example 1. Sample host-pkg.conf

    DebianRepository: /home/yann/repo
    KernelSourceDir: /import/noyaux-linux/v2.4
  2. Set the DebianRepository parameter to a directory where you have write access. It will hold the results.

  3. get the tools and the demo config from CVS:

    1. Login into CVS:

      1. $ cvs -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/hostpkg login
        		
      2. The password is empty: just press RETURN

    2. Get the tools:

      $ cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/hostpkg co host-package
      	    
    3. Get the demo configuration:

      $ cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/hostpkg co machines/demo/woody
      	    
  4. Enter the demo directory and run the tool:

    $ cd machines/demo/woody
    $ ../../../host-package/make-hostpkg
    	

You will then have your packages in the well-formed apt repository you defined with the DebianRepository parameter.