From: Baptiste DURAND Date: Tue, 17 Sep 2013 13:03:30 +0000 (+0200) Subject: [INSTALL] : fix systemctl dependencies X-Git-Tag: rev_0.4~140^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5452081d6b2117f10f398cc35e1fefe1ebce9f8e;p=scm%2Fbb%2Ftizen.git [INSTALL] : fix systemctl dependencies --- diff --git a/proto-meta-Tizen_ivi_3.0/specfile-patch/alarm-manager-yocto.spec.patch b/proto-meta-Tizen_ivi_3.0/specfile-patch/alarm-manager-yocto.spec.patch new file mode 100644 index 0000000..9c55e74 --- /dev/null +++ b/proto-meta-Tizen_ivi_3.0/specfile-patch/alarm-manager-yocto.spec.patch @@ -0,0 +1,18 @@ +diff --git a/packaging/alarm-manager.spec b/packaging/alarm-manager.spec +index ac7894c..c341eee 100755 +--- a/packaging/alarm-manager.spec ++++ b/packaging/alarm-manager.spec +@@ -10,10 +10,10 @@ Source102: 60-alarm-manager-rtc.rules + Source103: alarm-service.conf + + Requires(post): /sbin/ldconfig +-Requires(post): /usr/bin/systemctl ++Requires(post): /bin/systemctl + Requires(postun): /sbin/ldconfig +-Requires(postun): /usr/bin/systemctl +-Requires(preun): /usr/bin/systemctl ++Requires(postun): /bin/systemctl ++Requires(preun): /bin/systemctl + + BuildRequires: pkgconfig(dbus-1) + BuildRequires: pkgconfig(glib-2.0) diff --git a/proto-meta-Tizen_ivi_3.0/specfile-patch/aul-1-yocto.spec.patch b/proto-meta-Tizen_ivi_3.0/specfile-patch/aul-1-yocto.spec.patch new file mode 100644 index 0000000..4dfb0b0 --- /dev/null +++ b/proto-meta-Tizen_ivi_3.0/specfile-patch/aul-1-yocto.spec.patch @@ -0,0 +1,18 @@ +diff --git a/packaging/aul.spec b/packaging/aul.spec +index ff9ea2a..49a5485 100644 +--- a/packaging/aul.spec ++++ b/packaging/aul.spec +@@ -15,10 +15,10 @@ Source104: ac_user.service + Source1001: %{name}.manifest + + Requires(post): /sbin/ldconfig +-Requires(post): /usr/bin/systemctl ++Requires(post): /bin/systemctl + Requires(postun): /sbin/ldconfig +-Requires(postun): /usr/bin/systemctl +-Requires(preun): /usr/bin/systemctl ++Requires(postun): /bin/systemctl ++Requires(preun): /bin/systemctl + + BuildRequires: cmake + BuildRequires: pkgconfig(dbus-glib-1) diff --git a/proto-meta-Tizen_ivi_3.0/specfile-patch/avsystem-yocto.spec.patch b/proto-meta-Tizen_ivi_3.0/specfile-patch/avsystem-yocto.spec.patch new file mode 100644 index 0000000..bc02e1f --- /dev/null +++ b/proto-meta-Tizen_ivi_3.0/specfile-patch/avsystem-yocto.spec.patch @@ -0,0 +1,18 @@ +diff --git a/packaging/avsystem.spec b/packaging/avsystem.spec +index cb437eb..9432df4 100644 +--- a/packaging/avsystem.spec ++++ b/packaging/avsystem.spec +@@ -9,10 +9,10 @@ Source101: packaging/avsystem.service + Source1001: avsystem.manifest + + Requires(post): /sbin/ldconfig +-Requires(post): /usr/bin/systemctl ++Requires(post): /bin/systemctl + Requires(postun): /sbin/ldconfig +-Requires(postun): /usr/bin/systemctl +-Requires(preun): /usr/bin/systemctl ++Requires(postun): /bin/systemctl ++Requires(preun): /bin/systemctl + + BuildRequires: pkgconfig(alsa) + BuildRequires: pkgconfig(iniparser) diff --git a/proto-meta-Tizen_ivi_3.0/specfile-patch/dlog-yocto.spec.patch b/proto-meta-Tizen_ivi_3.0/specfile-patch/dlog-yocto.spec.patch index d1f3a08..995da20 100644 --- a/proto-meta-Tizen_ivi_3.0/specfile-patch/dlog-yocto.spec.patch +++ b/proto-meta-Tizen_ivi_3.0/specfile-patch/dlog-yocto.spec.patch @@ -1,7 +1,20 @@ diff --git a/packaging/dlog.spec b/packaging/dlog.spec -index 183e06c..141fe3c 100755 +index 183e06c..04d46ab 100755 --- a/packaging/dlog.spec +++ b/packaging/dlog.spec +@@ -31,9 +31,9 @@ dlog API library + %package -n dlogutil + Summary: Print log data to the screen + Requires: lib%{name} = %{version}-%{release} +-Requires(post): /usr/bin/systemctl +-Requires(postun): /usr/bin/systemctl +-Requires(preun): /usr/bin/systemctl ++Requires(post): /bin/systemctl ++Requires(postun): /bin/systemctl ++Requires(preun): /bin/systemctl + + %description -n dlogutil + Utilities for print log data @@ -50,9 +50,9 @@ make %{?jobs:-j%jobs} %install %make_install @@ -14,4 +27,3 @@ index 183e06c..141fe3c 100755 mkdir -p %{buildroot}%{_unitdir}/basic.target.wants mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants - diff --git a/proto-meta-Tizen_ivi_3.0/specfile-patch/secure-storage-yocto.spec.patch b/proto-meta-Tizen_ivi_3.0/specfile-patch/secure-storage-yocto.spec.patch new file mode 100644 index 0000000..6d548fd --- /dev/null +++ b/proto-meta-Tizen_ivi_3.0/specfile-patch/secure-storage-yocto.spec.patch @@ -0,0 +1,17 @@ +diff --git a/packaging/secure-storage.spec b/packaging/secure-storage.spec +index 510c44f..ac4e9a7 100644 +--- a/packaging/secure-storage.spec ++++ b/packaging/secure-storage.spec +@@ -35,9 +35,9 @@ Secure storage package (client-devel) + %package -n ss-server + Summary: Secure storage (ss-server) + Group: Development/Libraries +-Requires(preun): /usr/bin/systemctl +-Requires(post): /usr/bin/systemctl +-Requires(postun): /usr/bin/systemctl ++Requires(preun): /bin/systemctl ++Requires(post): /bin/systemctl ++Requires(postun): /bin/systemctl + Requires: systemd + Requires: libss-client = %{version}-%{release} +