wiki:BootstrappingTheProjectInfrastructure

Version 1 (modified by jdreed, 10 years ago) (diff)

--

  1. Create the package repository (detailed instructions on this pending). Set the DEBATHENA_APT environment variable to point to the package repository. Put a copy of the debathena "scripts" subdir in your path.
  1. Create the build area.
  1. Run 'dareprepro export' to set up the repository. Build each equivs package under meta/ using 'equivs-build --full *.equivs' and upload each with 'daupload-equivs-proposed *.changes', followed by 'damove -proposed "" PACKAGE' (replacing PACKAGE with the name of each equivs package you are moving).
  1. Set up the build server. The basic structure of the apt repository must work for make-chroot to succeed, so this must happen after step 3.
  1. For each normal Debian package in dependency order, cd into its directory in the build area and run "da sbuildhack *.dsc" and "daupload-release *_source.changes". If the package contains only an "Architecture: all" binary package, pass the -A option to both commands.

The all-packages script can generate an approximation of the package list in dependency order, but it doesn't work right yet, and ideally it would be possible to do several builds in parallel using a Makefile like the one in scripts/build-server/build-all. Improvements to this machinery are pending.

  1. For each package under third, run "da ./debathenify-PKG source binary upload". Any created directories under third/openafs/meta should be chmodded 777 to work around a perl/AFS permissions issue with File::Temp; if this is not done, OpenAFS metapackage builds will fail for other users.