1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/packaging/debian
2012-07-20 14:33:35 +02:00
..
ansible.dirs Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00
ansible.install Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00
changelog fixed debian changelog format 2012-07-20 14:33:35 +02:00
compat Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00
control Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00
copyright Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00
docs Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00
pycompat Move debian under packaging subdirectory 2012-04-18 22:50:09 -04:00
README.txt Add debian build notes... makefile target pending, some changes to instructions possibly 2012-04-18 23:26:08 -04:00
rules debian packaging 2012-04-23 19:17:01 -04:00

I have added a debian folder for use in building a .deb file for ansible. From the ansible directory you can run the following command to construct a debian package of ansible.

~/ansible$ dpkg-buildpackage -us -uc -rfakeroot

The debian package files will be placed in the ../ directory and can be installed with the following command:
~/$ sudo dpkg -i .deb

Dpkg -i doesn't resolve dependencies, so if the previous command fails because of dependencies, you will need to run the following to install the dependencies (if needed) and then re-run the dpkg -i command to install the package:
$ sudo apt-get -f install

--Henry Graham