Skip to content

Commit

Permalink
Xenserver build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sflow committed Jan 21, 2017
1 parent 5335cde commit f186433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker_build/xenserver/build_hsflowd
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ yum -y install xen-libs-devel xen-dom0-libs-devel supp-pack-build
echo "building hsflowd"
git clone https://github.com/sflow/host-sflow \
&& cd host-sflow \
&& sed --in-place -e 's/PACK_BUILD = $(XENSERVER_BUILD)/PACK_BUILD = docker_ddk/g' xenserver-ddk/Makefile \
&& make xenserver FEATURES="XEN OVS SYSTEMD DBUS"
&& make xenserver

echo "copying result"
cp xenserver-ddk/hsflowd-xenserver.iso /packages
Expand Down
2 changes: 1 addition & 1 deletion xenserver-ddk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build-iso: build-rpms
build-tarball: build-rpms
python setup.py "--output=$(dir $(ISO))" --tar "--vendor-code=$(VENDOR_CODE)" "--vendor-name=$(VENDOR_NAME)" "--label=$(LABEL)" "--text=$(TEXT)" "--version=$(PACK_VERSION)" "--build=$(PACK_BUILD)" $(RPM_FILES)

build-rpms: build-srctarballs
build-rpms:
rpmbuild -bb --define "version $(RPM_VERSION)" --define "release $(RPM_RELEASE)" $(SPEC)

build-srctarballs:
Expand Down

0 comments on commit f186433

Please sign in to comment.