summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-10-11 08:19:39 (GMT)
committerJavier Jardón <jjardon@gnome.org>2015-10-12 19:56:38 (GMT)
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 450786c..10b9b50 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 0000000..909f6ec
--- /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