You are here: Foswiki>NetFPGA/OneGig Web>PackagingAndDistribution (03 Aug 2010, Main.GlenGibb)EditAttach

Packaging and distribution

Show Contents...Hide Contents...

Building base packages

Update the CHANGES file

Update the version number in lib/release/release_netfpga_base.xml

Build the .tar.gz:

nf_make_release.pl --base_pkg --git lib/release/release_netfpga_base.xml

Verify that the .tar.gz file works:

  1. Extract the tar file
  2. Set the environment variables (NF_ROOT, NF_DESIGN_DIR)
  3. Install the utilities: make install
  4. Run make in the top-level directory
  5. Run nf_regress_test.pl to ensure that all regression tests pass
Tag the release:
git tag release_<release_number>
Note: Use the -f flag to update the tag if it's already been created.

Push the branch and tag to the external repository

Create online release notes (see Release Notes). Release notes should contain:

  • release date
  • summary of major changes since previous release
  • instructions for upgrading from previous release
  • full change log (from CHANGES)
Create an RPM:
rpmbuild -ba rpm/SPECS/netfpga_base.spec

Add the release to the Releases page.

Sign the package

rpm --addsign rpm/RPMS/i386/NF2-1.2-2.i386.rpm

Rebuild yum repo

createrepo /var/www/html/rpm

Add entries to Bugzilla

Log in to Bugzilla and create a new entry for the release. (Administration -> Products -> NetFPGA) Create a new version and a new milestone as appropriate.
Topic revision: r5 - 03 Aug 2010 - 23:05:16 - Main.GlenGibb