|
HowTo /
Add New PackageTo add a new package to the offline repository, try the following: 1. First, we add the package to CVS: Once your new package in your test release is ready to be committed, you need to import it to CVS. From the directory of your new package: cvs -n import <repository_path> <vendor_tag> <release_tag> repository path is the path under $CVSROOT where your new package will live, including the package name itself. Typically packages will live in the nova/pkgs/ directory of the repository. The tags don't mean much here. Before you do this, you either want to remove files not intended for the repository (e.g., editor backups, binaries, .o files, etc.), or tell cvs import to ignore them using the -I flag for each. See the man pages. E.g., it's time to include your new package NovaRocks under the pkgs directory: cd NovaRocks If you're happy with all the messages, repeat it without the "-n", and it will happen for real! 2. Once you've imported, then, you need to declare the package as a CVS module or SRT's "addpkg" and the like won't know where to find the code. > cvs get CVSROOT 3. If you want to declare your new package as a standard for the offline (so that it is picked up automatically in future installations/updates), you need to add it to the list of development packages in the setup directory: > cd $SRT_PRIVATE_CONTEXT/setup |