summaryrefslogtreecommitdiff
path: root/rpm/README
diff options
context:
space:
mode:
authorBen Howard <ben.howard@ubuntu.com>2015-08-14 16:40:41 -0600
committerusd-importer <ubuntu-server@lists.ubuntu.com>2015-08-15 14:33:21 +0000
commitf78b9650d0e7b008d430673a075aad95dda863be (patch)
treea6749619e78483d45a66d4bad4d6e922391541fc /rpm/README
parent0afc048f2a6ff3638ecfa33e7ded5dc8dddf041a (diff)
downloadvyos-walinuxagent-f78b9650d0e7b008d430673a075aad95dda863be.tar.gz
vyos-walinuxagent-f78b9650d0e7b008d430673a075aad95dda863be.zip
Import patches-unapplied version 2.1.1-0ubuntu1 to ubuntu/wily-proposed
Imported using git-ubuntu import. Changelog parent: 0afc048f2a6ff3638ecfa33e7ded5dc8dddf041a New changelog entries: * New upstream release for Ubuntu. - Switch to Python3 - Applies Ubuntu specific patches
Diffstat (limited to 'rpm/README')
-rw-r--r--rpm/README45
1 files changed, 9 insertions, 36 deletions
diff --git a/rpm/README b/rpm/README
index b731b9b..70770c1 100644
--- a/rpm/README
+++ b/rpm/README
@@ -1,46 +1,19 @@
-The preferred method of installing the Windows Azure Linux Agent for
+The preferred method of installing the Azure Linux Agent for
CentOS and other RPM-based distributions is to use the RPM packaging.
Platform images in the Azure Gallery will already include the agent
package. This guide is primarily for individuals who would like to
build their own custom packages.
-OpenLogic provides an RPM package for CentOS-based distributions
-in their package repositories, for example
-http://olcentgbl.trafficmanager.net/openlogic/6/openlogic/x86_64/RPMS/
-http://olcentgbl.trafficmanager.net/openlogic/7/openlogic/x86_64/RPMS/
-
-Note: Official packaging and other patches for SLES and OpenSUSE can be
-found on the OpenSUSE Build Service:
-https://build.opensuse.org/package/show?package=WALinuxAgent&project=Cloud%3ATools
-
The instructions below will describe how you can build your own RPM
-package:
-
- 1. Install required rpmbuild package:
-
- yum -y install rpm-build
-
- 2. Set up the rpmbuild environment:
-
- mkdir -p ~/rpmbuild/{SPECS,SOURCES}
-
- 3. Download the WALinuxAgent source code as a tar.gz compressed
- file from Github, or create it yourself:
-
- tar -czf WALinuxAgent-1.x.x.tar.gz WALinuxAgent-1.x.x
-
- 4. Copy the files to the rpmbuild environment:
-
- cp walinuxagent.spec ~/rpmbuild/SPECS
- cp WALinuxAgent-1.x.x.tar.gz ~/rpmbuild/SOURCES
-
- 5. If necessary, edit the ~/rpmbuild/SPECS/walinuxagent.spec file
- and ensure that the 'Version', 'Source0' and other information
- is accurate.
+package.
- 6. The following command will build the binary and source RPMs:
+ 1. Install setuptools
- rpmbuild -ba ~/rpmbuild/SPECS/walinuxagent.spec
+ curl https://bootstrap.pypa.io/ez_setup.py -o - | python
+
+ 2. The following command will build the binary and source RPMs:
+
+ python setup.py bdist_rpm --post-inst rpm/post-inst
-Enjoy! \ No newline at end of file
+Enjoy!