Change-Id: Id0a5ff276e642ce8f9ee59c66c56d7870eecb218
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Summary: Tizen IVI Modello Weston configuration
Group: Automotive/Configuration
Requires: weekeyboard
+Requires(post): sed
+Requires(postun): sed
Conflicts: ico-uxf-weston-plugin, weston-ivi-config
%description config-modello
This package contains Tizen IVI-specific Modello configuration for the Weston
%post config-modello
ln -s %{weston_config_dir}/weston-modello.ini %{weston_config_dir}/weston.ini
+sed -i 's/ --current-mode//' %{_unitdir_user}/weston.service
%postun config-modello
rm %{weston_config_dir}/weston.ini
+sed -i 's/\(^ExecStart.*\)/\1 --current-mode/' %{_unitdir_user}/weston.service
%files
%manifest %{name}.manifest