summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-11 17:19:39 +0900
committerJavier Jardón <jjardon@gnome.org>2015-10-12 20:56:38 +0100
commitbfc1811639862d0ed843ee39933cf400ea46fdcd (patch)
tree0b39f97eb3bf622990c9bc152f97ca4b8d74afdb
parent1854e1880270159627452a1b6668aa65a080c4cc (diff)
downloaddefinitions-bfc1811639862d0ed843ee39933cf400ea46fdcd.tar.gz
Enable ModemManager unit
ModemManager does not startup when asked to activate while firing up gnome-session, because the unit is not 'enabled'. This commit enables the unit in the target image Change-Id: Ib740f22a915063f457077ed69629838e4d4c3ad5
-rw-r--r--strata/gnome.morph1
-rw-r--r--strata/gnome/ModemManager.morph9
2 files changed, 10 insertions, 0 deletions
diff --git a/strata/gnome.morph b/strata/gnome.morph
index 450786c1..10b9b50b 100644
--- a/strata/gnome.morph
+++ b/strata/gnome.morph
@@ -170,6 +170,7 @@ chunks:
unpetrify-ref: master
build-system: autotools
- name: ModemManager
+ morph: strata/gnome/ModemManager.morph
repo: upstream:ModemManager
ref: 0ca68657fbcd5bace3d303a0babe2da292784385
unpetrify-ref: master
diff --git a/strata/gnome/ModemManager.morph b/strata/gnome/ModemManager.morph
new file mode 100644
index 00000000..909f6eca
--- /dev/null
+++ b/strata/gnome/ModemManager.morph
@@ -0,0 +1,9 @@
+name: ModemManager
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc
+system-integration:
+ ModemManager-misc:
+ 00-enable-ModemManager-unit:
+ - systemctl enable ModemManager