Managing the Debian Repository: Difference between revisions
m (new) |
Sturlington (talk | contribs) No edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
= Updating a manually-built package = | = Updating a manually-built package = | ||
You need to install the devscripts package: | |||
sudo apt-get install devscripts | |||
Some packages (such as the <tt>-all</tt> packages and the <tt>site</tt> packages) need to be built by hand and placed in the repository by hand. | Some packages (such as the <tt>-all</tt> packages and the <tt>site</tt> packages) need to be built by hand and placed in the repository by hand. | ||
The <tt>site</tt> packages are simple enough: just change to the proper directory (e.g. <tt>cd sites/Demo</tt>) and run <tt>build- | The <tt>site</tt> packages are simple enough: just change to the proper directory (e.g. <tt>cd sites/Demo</tt>) and run <tt>build-debian</tt>. | ||
The <tt>-all</tt> packages are not so straightforward. [[Building Meta Packages|After building them]], they need to be manually copied into the <tt>/var/www/debian/pool/main/manual</tt> subdirectory and run the following command: | The <tt>-all</tt> packages are not so straightforward. [[Building Meta Packages|After building them]], they need to be manually copied into the <tt>/var/www/debian/pool/main/manual</tt> subdirectory and run the following command: | ||
Line 17: | Line 19: | ||
'''Note:''' The <tt>manual</tt> subdirectory is used to avoid conflicts with the automated rsync process. | '''Note:''' The <tt>manual</tt> subdirectory is used to avoid conflicts with the automated rsync process. | ||
[[Category:Project Team Resources]][[Category:NeedsReview]] | |||
[[Category: |
Latest revision as of 12:12, 9 December 2013
Normally our local Debian Repository is managed by Continuum and the deploy-i2ce script. This page covers the steps the deploy-i2ce takes as well how you can manage the repository by hand, in a pinch.
Automated Deployment
Continuum runs the packaging scripts once an hour and then publishes the results (PHPDocumentor-produced docmentation and Debian packages). The documentation is pushed to a subdirectory of /var/www/ihris-docs using rsync. The debian packages are pushed to /var/www/debian using rsync and then archive maintenance commands are run.
Updating a manually-built package
You need to install the devscripts package:
sudo apt-get install devscripts
Some packages (such as the -all packages and the site packages) need to be built by hand and placed in the repository by hand.
The site packages are simple enough: just change to the proper directory (e.g. cd sites/Demo) and run build-debian.
The -all packages are not so straightforward. After building them, they need to be manually copied into the /var/www/debian/pool/main/manual subdirectory and run the following command:
$ sudo -u tomcat55 apt-ftparchive -q -q generate \ /etc/apt/apt-ftparchive.conf
Note: The manual subdirectory is used to avoid conflicts with the automated rsync process.