Merge pull request #309 from euanh/makefile-refactoring

Makefile refactoring
Merge pull request #310 from euanh/makefile-refactoring

Revert "Merge pull request #309 from euanh/makefile-refactoring"
makemake: Fix pylint whitespace warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #311 from euanh/build-improvements

makemake: Fix pylint whitespace warnings
xcp-sm: Update rules and script to work on Ubuntu

Ubuntu's udev no longer recognises the deprecated 'BUS' tag,
and it installs scsi_id in /lib/udev rather than in /usr/sbin.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #312 from euanh/ubuntu-sm

xcp-sm: Update rules and script to work on Ubuntu
xcp-sm: Update to 0.9.6, with fixes for iSCSI volumes on Ubuntu

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #313 from euanh/ubuntu-sm

xcp-sm: Update to 0.9.6, with fixes for iSCSI volumes on Ubuntu
Remove hardwired url patterns from inputs
Override repositories with environment variables
Extract variables
Rename variables

The same environment variables could be used for both deb and rpm packages:

PKG_REPO_LOCATION
SRC_REPO_LOCATION
Fix bad variable name
Templated debian preferences

If the repo location is an URL, the debian preference file need to refer
to the hostname.
Merge pull request #316 from matelakat/install-from-url

Enable URL based installation
makemake: Fix Pylint naming warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Separate toplevel code into functions

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Switch from os.listdir() to glob.glob() to read SPEC dir

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Remove some unnecessary duplicate iterations over the specs

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Remove further unnecessary traversals of the spec list

This change substantially alters the order in which rules appear
in the Makefile.

Signed-off-by: Euan Harris <euan.harris@citrix.com>