diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-07-16 11:34:13 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-07-27 16:22:18 +0000 |
commit | 285802590bde313a6d2f45fa3399f941940f99c2 (patch) | |
tree | 7bb6aea3e216de34925363a11cd2e3b93742d4b8 | |
parent | 911c0230e50bb41fa1ab7d2abcd3dc727141db88 (diff) | |
download | definitions-285802590bde313a6d2f45fa3399f941940f99c2.tar.gz |
Add sysstat to bosh-stemcell
Change-Id: I4292295e317a300ed8a3501d2e452320bb5a40ff
-rw-r--r-- | strata/bosh-stemcell.morph | 4 | ||||
-rw-r--r-- | strata/bosh-stemcell/sysstat.morph | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/strata/bosh-stemcell.morph b/strata/bosh-stemcell.morph index 40222736..79588dab 100644 --- a/strata/bosh-stemcell.morph +++ b/strata/bosh-stemcell.morph @@ -33,3 +33,7 @@ chunks: - liblogging - librelp - docutils +- name: sysstat + morph: strata/bosh-stemcell/sysstat.morph + repo: git://github.com/sysstat/sysstat.git + ref: v11.1.4 diff --git a/strata/bosh-stemcell/sysstat.morph b/strata/bosh-stemcell/sysstat.morph new file mode 100644 index 00000000..ed3b5063 --- /dev/null +++ b/strata/bosh-stemcell/sysstat.morph @@ -0,0 +1,11 @@ +name: sysstat +kind: chunk +build-system: autotools +configure-commands: +- | + ./configure --prefix="$PREFIX" \ + --with-systemdsystemunitdir="$PREFIX"/lib/systemd/system +install-commands: +- make DESTDIR="$DESTDIR" install_all +- mkdir -p "$DESTDIR$PREFIX"/lib/systemd/system/multi-user.target.wants +- ln -sf ../sysstat.service "$DESTDIR$PREFIX"/lib/systemd/system/multi-user.target.wants/sysstat.service |