summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Douglas <william.douglas@intel.com>2012-06-21 13:52:29 -0700
committerƁukasz Stelmach <l.stelmach@samsung.com>2012-10-10 17:36:42 +0200
commit1c5f418c76630e1e2f1e0a5de27d610d5d5b7270 (patch)
treebfdcfd37a66f98aafc75209a7a6601f652d68ef6
parenta02c717cc838413d7696c2c4802be4d34203bb55 (diff)
downloadapp-core-1c5f418c76630e1e2f1e0a5de27d610d5d5b7270.tar.gz
app-core-1c5f418c76630e1e2f1e0a5de27d610d5d5b7270.tar.bz2
app-core-1c5f418c76630e1e2f1e0a5de27d610d5d5b7270.zip
add system target
Signed-off-by: William Douglas <william.douglas@intel.com> Changed and tailored for slp by <k.lewandowsk@samsung.com> Change-Id: I60b6cbff20b0140bcc004f3d1c4343dff711814b
-rw-r--r--packaging/app-core.spec5
-rw-r--r--packaging/core-efl.target15
2 files changed, 20 insertions, 0 deletions
diff --git a/packaging/app-core.spec b/packaging/app-core.spec
index 7f3fd9f..f3637d5 100644
--- a/packaging/app-core.spec
+++ b/packaging/app-core.spec
@@ -6,6 +6,7 @@ Release: 28
Group: TO_BE/FILLED_IN
License: Apache License, Version 2.0
Source0: app-core-%{version}.tar.gz
+Source101: packaging/core-efl.target
BuildRequires: pkgconfig(sensor)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(aul)
@@ -86,6 +87,8 @@ make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
+install -d %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
+install -m0644 %{SOURCE101} %{buildroot}%{_libdir}/systemd/user/
%post efl -p /sbin/ldconfig
@@ -113,6 +116,8 @@ rm -rf %{buildroot}
%files common
%defattr(-,root,root,-)
%{_libdir}/libappcore-common.so.*
+%{_libdir}/systemd/user/core-efl.target
+%{_libdir}/systemd/user/core-efl.target.wants/
%files common-devel
%defattr(-,root,root,-)
diff --git a/packaging/core-efl.target b/packaging/core-efl.target
new file mode 100644
index 0000000..67ec56e
--- /dev/null
+++ b/packaging/core-efl.target
@@ -0,0 +1,15 @@
+#
+# This virtual unit maps the default core components and their dependencies.
+#
+# The real desktop services should go into the final desktop target
+# folder, which should require this virtual target. While starting
+# up, systemd will assure that the core EFL and daemons start before
+# anything else. After the core target finishes, dependencies should
+# not matter too much anymore and less fine-grained dependencies can
+# be used.
+#
+
+[Unit]
+Description=Core EFL UI target
+After=xorg.target
+Requires=xorg.target