diff options
author | Peter Sankauskas <pas256@gmail.com> | 2012-08-01 16:12:10 -0700 |
---|---|---|
committer | Peter Sankauskas <pas256@gmail.com> | 2012-08-01 16:12:10 -0700 |
commit | b1b543c2891fb04c5d6fc7ed38bb7878e6aa9e61 (patch) | |
tree | de263680e58bc053f192fbdc8694ded4ccafa296 /packaging/debian | |
parent | 2d9ceafbd40259e51f9a5396bd2b93ef20b30572 (diff) | |
download | ansible-b1b543c2891fb04c5d6fc7ed38bb7878e6aa9e61.tar.gz |
Smiting Debian packaging instructions that did not work, and replacing
them with the correct instructions. Changing file to .md to match 'docs'
file.
Diffstat (limited to 'packaging/debian')
-rw-r--r-- | packaging/debian/README.md | 13 | ||||
-rw-r--r-- | packaging/debian/README.txt | 11 |
2 files changed, 13 insertions, 11 deletions
diff --git a/packaging/debian/README.md b/packaging/debian/README.md new file mode 100644 index 0000000000..58de3a3bde --- /dev/null +++ b/packaging/debian/README.md @@ -0,0 +1,13 @@ +Ansible Debian Package +====================== + +To create an Ansible DEB package: + + sudo apt-get install cdbs debhelper dpkg-dev git-core reprepro + git clone git://github.com/ansible/ansible.git + cd ansible + make deb + +The debian package file will be placed in the `../` directory. This can then be added to an APT repository or installed with `dpkg -l`. + +Note that `dpkg -i` does not resolve dependencies diff --git a/packaging/debian/README.txt b/packaging/debian/README.txt deleted file mode 100644 index 88bda09090..0000000000 --- a/packaging/debian/README.txt +++ /dev/null @@ -1,11 +0,0 @@ -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 |