-
Notifications
You must be signed in to change notification settings - Fork 2
Creating Packages
Kermin E Fleming edited this page Feb 15, 2015
·
2 revisions
The procedure for creating a new repository is:
- Create an empty repository on your sever, e.g., for SVN that would be something like:
% mkdir /home/<user>/svn % svnadmin create /home/<user>/svn/<reponame>
- Run the following commands:
% awb-shell create package <pkgname> Creating package foo... Do you want to run regression tests on this package [no]?: no % awb-shell create repository <pkgname> [1] cvs [2] svn Repository type: []: 2 Repository URL []: file:///home/<user>/svn/<reponame> Repository browse URL []: https://<webserver>/websvn/listing.php?repname=<reponame> % awb-shell checkout package <pkgname> ...answer questions...
A .pack file is also created in your ~/.asim directory, e.g.,
~/.asim/repositories.d/<pkgname>.pack
This can be made available system-wide by placing it in the global awb
configuration directory:
<prefix>/etc/asim/repositories.d/<packname>.pack
To install it as part of every awb installation, the .pack file should
be added to the awb package in the directory:
etc/repositories.d/<packname>.pack