summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyejin Kim <hyejin0906.kim@samsung.com>2015-09-04 16:05:29 +0900
committerHyejin Kim <hyejin0906.kim@samsung.com>2015-09-04 16:05:29 +0900
commit94f235c7e5dddd6b6b5737d9a7fe879331878775 (patch)
tree242ff88473dff628c3db347547e78d0dbc6244e6
parent34f25eaca12559a6edbb101b59247ba8b1009625 (diff)
downloadtoybox-94f235c7e5dddd6b6b5737d9a7fe879331878775.tar.gz
toybox-94f235c7e5dddd6b6b5737d9a7fe879331878775.tar.bz2
toybox-94f235c7e5dddd6b6b5737d9a7fe879331878775.zip
Change-Id: Ie14cf29b932ad1a9c0729595f4482b5cb8ef3027
-rw-r--r--packaging/toybox.spec26
1 files changed, 13 insertions, 13 deletions
diff --git a/packaging/toybox.spec b/packaging/toybox.spec
index 19be664..10ba854 100644
--- a/packaging/toybox.spec
+++ b/packaging/toybox.spec
@@ -95,15 +95,15 @@ for f in `cat %SOURCE5` ; do ln -s ../../bin/toybox $f ; done
popd
# install systemd service files for syslogd and klogd
-mkdir -p %{buildroot}%{_unitdir}/basic.target.wants
-install -m 644 %SOURCE101 %{buildroot}%{_unitdir}/klogd.service
-ln -s ../klogd.service %{buildroot}%{_unitdir}/basic.target.wants/klogd.service
-install -m 644 %SOURCE102 %{buildroot}%{_unitdir}/syslogd.service
-ln -s ../syslogd.service %{buildroot}%{_unitdir}/basic.target.wants/syslogd.service
-rm -rf $RPM_BUILD_ROOT/sbin/syslogd
-cp -f $RPM_BUILD_ROOT/bin/toybox $RPM_BUILD_ROOT/sbin/syslogd
-rm -rf $RPM_BUILD_ROOT/sbin/klogd
-cp -f $RPM_BUILD_ROOT/bin/toybox $RPM_BUILD_ROOT/sbin/klogd
+#mkdir -p %{buildroot}%{_unitdir}/basic.target.wants
+#install -m 644 %SOURCE101 %{buildroot}%{_unitdir}/klogd.service
+#ln -s ../klogd.service %{buildroot}%{_unitdir}/basic.target.wants/klogd.service
+#install -m 644 %SOURCE102 %{buildroot}%{_unitdir}/syslogd.service
+#ln -s ../syslogd.service %{buildroot}%{_unitdir}/basic.target.wants/syslogd.service
+#rm -rf $RPM_BUILD_ROOT/sbin/syslogd
+#cp -f $RPM_BUILD_ROOT/bin/toybox $RPM_BUILD_ROOT/sbin/syslogd
+#rm -rf $RPM_BUILD_ROOT/sbin/klogd
+#cp -f $RPM_BUILD_ROOT/bin/toybox $RPM_BUILD_ROOT/sbin/klogd
mkdir -p $RPM_BUILD_ROOT%{_datadir}/license
cat LICENSE > $RPM_BUILD_ROOT%{_datadir}/license/toybox
@@ -129,16 +129,16 @@ cat LICENSE > $RPM_BUILD_ROOT%{_datadir}/license/toybox-symlinks-dhcpd
%defattr(-,root,root,-)
%{_datadir}/license/toybox-symlinks-klogd
/sbin/klogd
-%{_unitdir}/klogd.service
-%{_unitdir}/basic.target.wants/klogd.service
+#%{_unitdir}/klogd.service
+#%{_unitdir}/basic.target.wants/klogd.service
%manifest klogd.manifest
%files symlinks-sysklogd
%defattr(-,root,root,-)
%{_datadir}/license/toybox-symlinks-sysklogd
/sbin/syslogd
-%{_unitdir}/syslogd.service
-%{_unitdir}/basic.target.wants/syslogd.service
+#%{_unitdir}/syslogd.service
+#%{_unitdir}/basic.target.wants/syslogd.service
%manifest syslogd.manifest
%files symlinks-dhcp