From b70ed206c630d83d6d72a61f15fb7ac057a27854 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 18 Apr 2012 23:26:08 -0400 Subject: [PATCH] Add debian build notes... makefile target pending, some changes to instructions possibly needed due to moving into packaging/debian? --- packaging/debian/README.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packaging/debian/README.txt diff --git a/packaging/debian/README.txt b/packaging/debian/README.txt new file mode 100644 index 0000000000..88bda09090 --- /dev/null +++ b/packaging/debian/README.txt @@ -0,0 +1,11 @@ +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