Commit dc889b6e authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Create a separate snf-image-tools package

This package hosts snf-image-create-helper script

This resolves #33
parent cbd02ca5
......@@ -12,8 +12,7 @@ Vcs-Browser: https://code.grnet.gr/git/snf-image
Package: snf-image
Architecture: all
Depends: ${misc:Depends}, kpartx, multistrap, curl,
mbr, python, python-prctl, python-scapy
Depends: ${misc:Depends}, kpartx, curl, mbr, python, python-prctl, python-scapy
Breaks: snf-image-host (<< 0.8)
Replaces: snf-image-host
Conflicts: snf-image-host
......@@ -28,6 +27,13 @@ Description: Image Based Ganeti OS Provider
installation of predefined or custom Images. It is the main provider
of the Synnefo Cloud Management Software.
Package: snf-image-tools
Architecture: all
Depends: ${misc:Depends}, snf-image, multistrap
Description: Some tools that came with snf-image
This package provides the snf-image-create-helper tool that creates the helper
appliance.
Package: snf-image-helper
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, xmlstarlet, libwin-hivex-perl,
......@@ -35,10 +41,10 @@ Depends: ${python:Depends}, ${misc:Depends}, xmlstarlet, libwin-hivex-perl,
eatmydata, socat, iproute, xenstore-utils, gdisk, ufsutils
Description: Requisite for the snf-image Ganeti OS Provider
This package needs to be installed in the Helper VM that is
used by the snf-image-host Ganeti OS Provider. It implements the
used by the snf-image Ganeti OS Provider. It implements the
communication between the OS Provider and the VM that customizes
the newly created Image.
.
The snf-image-host package should be installed on the host machine.
The snf-image package should be installed on the host machine.
The snf-image-helper package should be installed inside the VM,
which is used by the snf-image-host package to customize the Image.
which is used by the snf-image package to customize the Image.
......@@ -34,11 +34,10 @@ override_dh_auto_configure:
override_dh_auto_install:
dh_auto_install -Dsnf-image-host --destdir=debian/snf-image
mkdir -p debian/snf-image-tools/usr/bin
mv debian/snf-image/usr/bin/snf-image-create-helper debian/snf-image-tools/usr/bin/
dh_auto_install -Dsnf-image-helper --destdir=debian/snf-image-helper
override_dh_installman:
dh_installman docs/_build/man/*.1
override_dh_install:
dh_install
install -D -m 0600 snf-image-host/defaults $(CURDIR)/debian/snf-image/etc/default/snf-image
......
etc/snf-image
etc/snf-image/apt.pref.d
docs/_build/man/snf-image-create-helper.1
etc/snf-image
etc/snf-image/apt.pref.d
var/lib/snf-image/helper
docs/_build/man/snf-image-update-helper.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment