service: apply tizen-generate-env.service file. 50/40250/1
authorSooyoung Ha <yoosah.ha@samsung.com>
Thu, 19 Jun 2014 13:31:17 +0000 (22:31 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Mon, 1 Jun 2015 08:30:47 +0000 (17:30 +0900)
This file is needed by other services. This was deleted
because of conflict with tizen-mobile-session package,
but tizen-mobile-session package doesn't be installed on
kiran image. So this service file should be in
system-plugin-emulator package.

Conflicts:

        packaging/system-plugin-emulator.spec

Change-Id: I76763a87f7d7c1a52b329821309d0fa19d68a4fe
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
packaging/system-plugin-emulator.spec

index 3ada3b9..15eb194 100644 (file)
@@ -1,5 +1,5 @@
 Name: system-plugin-emulator
-Version: 0.0.16
+Version: 0.1.2
 Release: 1
 
 %define systemd_dir     /usr/lib/systemd
@@ -50,8 +50,7 @@ ln -s %{systemd_dir}/system/emulator.target %{buildroot}/%{systemd_dir}/system/m
 mkdir -p %{buildroot}/%{systemd_dir}/system/emulator.target.wants
 
 # services from system-plugin-exynos
-rm %{buildroot}/%{systemd_dir}/system/tizen-generate-env.service
-
+ln -s ../tizen-generate-env.service %{buildroot}/%{systemd_dir}/system/basic.target.wants/
 mkdir -p %{buildroot}/%{systemd_dir}/system/default.target.wants
 ln -s ../tizen-readahead-collect.service %{buildroot}/%{systemd_dir}/system/default.target.wants/
 ln -s ../tizen-readahead-replay.service %{buildroot}/%{systemd_dir}/system/default.target.wants/
@@ -86,6 +85,7 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
 /usr/lib/systemd/system/emulator_preinit.target
 /usr/lib/systemd/system/emulator.target
 /usr/lib/systemd/system/basic.target.wants/emulator_preinit.target
+/usr/lib/systemd/system/basic.target.wants/tizen-generate-env.service
 /usr/lib/systemd/system/default.target.wants/tizen-readahead-collect.service
 /usr/lib/systemd/system/default.target.wants/tizen-readahead-replay.service
 /usr/lib/systemd/system/multi-user.target.wants/emulator.target
@@ -101,6 +101,7 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}
 /usr/lib/systemd/system/tizen-readahead-collect.service
 /usr/lib/systemd/system/tizen-readahead-replay.service
 /usr/lib/systemd/system/wm_ready.service
+/usr/lib/systemd/system/tizen-generate-env.service
 /usr/lib/udev/rules.d/95-tizen-emulator.rules
 %dir /mnt/host
 /usr/share/license/%{name}