diff options
author | William Douglas <william.douglas@intel.com> | 2012-06-21 13:52:29 -0700 |
---|---|---|
committer | William Douglas <william.douglas@intel.com> | 2012-06-22 13:52:34 -0700 |
commit | be8a8a5dc4251d5173394f5b3179bd20f4dba68d (patch) | |
tree | 3f23b5f6bc7c46d9b5c159c9f3f231b35e81b66c | |
parent | 28f5707e0216840b6c0f688b113cda781e46a93d (diff) | |
download | app-core-1.0_post.tar.gz app-core-1.0_post.tar.bz2 app-core-1.0_post.zip |
add system target1.0_post
Signed-off-by: William Douglas <william.douglas@intel.com>
-rw-r--r-- | packaging/app-core.changes | 2 | ||||
-rw-r--r-- | packaging/app-core.spec | 7 | ||||
-rw-r--r-- | packaging/core-efl.target | 15 |
3 files changed, 23 insertions, 1 deletions
diff --git a/packaging/app-core.changes b/packaging/app-core.changes new file mode 100644 index 0000000..44549f4 --- /dev/null +++ b/packaging/app-core.changes @@ -0,0 +1,2 @@ +* Thu Jun 21 2012 William Douglas <william.douglas@intel.com> - 1.2 +- add systemd unit files diff --git a/packaging/app-core.spec b/packaging/app-core.spec index 953a6b1..734c34f 100644 --- a/packaging/app-core.spec +++ b/packaging/app-core.spec @@ -2,9 +2,10 @@ Name: app-core Summary: Application basic Version: 1.2 Release: 19 -Group: TO_BE/FILLED_IN +Group: System/Base License: Apache License, Version 2.0 Source0: app-core-%{version}.tar.gz +Source101: packaging/core-efl.target Source1001: packaging/app-core.manifest BuildRequires: pkgconfig(sensor) BuildRequires: pkgconfig(vconf) @@ -87,6 +88,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 @@ -114,6 +117,8 @@ rm -rf %{buildroot} %files common %manifest app-core.manifest %{_libdir}/libappcore-common.so.* +%{_libdir}/systemd/user/core-efl.target +%{_libdir}/systemd/user/core-efl.target.wants/ %files common-devel %manifest app-core.manifest 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 |