From 4b25212708c2cf73afcb3415fb7fc717754c70ea Mon Sep 17 00:00:00 2001 From: Sehong Na Date: Thu, 7 Nov 2013 18:54:39 +0900 Subject: [PATCH] init Tizen 2.2.1 --- packaging/systemd.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/packaging/systemd.spec b/packaging/systemd.spec index ed02506..b84044c 100644 --- a/packaging/systemd.spec +++ b/packaging/systemd.spec @@ -51,6 +51,18 @@ of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. It can work as a drop-in replacement for sysvinit. +# tools package dislabled because of pycairo package dependency +# %package tools +# Summary: Analyze systemd startup timing +# Group: Development/Tools +# Requires: pycairo +# Requires: python-xml +# Requires: %{name} = %{version}-%{release} + +# %description tools +# This package installs the systemd-analyze tool, which allows one to +# inspect and graph service startup timing in table or graph format. + %package devel Summary: Development tools for systemd Group: Development/Libraries @@ -123,6 +135,36 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} This package includes the man pages for systemd. +# %package sysv-docs +# Summary: System and session manager man pages - SysV links +# Group: Development/Libraries +# Requires: %{name} = %{version}-%{release} + +# %description sysv-docs +# This package provides the manual pages needed for systemd +# to replace sysvinit. + +# %package sysv +# Summary: System and session manager - SysV links +# Group: System/Startup Services +# Requires: %{name} = %{version}-%{release} +# Obsoletes: sysvinit < 3.0 +# Provides: sysvinit = 3.0 + + + #%description sysv +# Systemd is a replacement for sysvinit. It is dependency-based and +# able to read the LSB init script headers in addition to parsing rcN.d +# links as hints. + +# It also provides process supervision using cgroups and the ability to +# not only depend on other init script being started, but also +# availability of a given mount point or dbus service. + +# This package provides the links needed for systemd +# to replace sysvinit. + + %prep %setup -q -n %{name}-%{version} %patch1 -p1 @@ -215,6 +257,10 @@ ln -s ../serial-getty@.service %{buildroot}%{_libdir}/systemd/system/getty.targe #console-ttyO2 ln -s ../serial-getty@.service %{buildroot}%{_libdir}/systemd/system/getty.target.wants/serial-getty@ttyO2.service +#license +mkdir -p %{buildroot}/usr/share/license +cp LICENSE %{buildroot}/usr/share/license/%{name} + %post rm -f /etc/mtab ln -sf /proc/self/mounts /etc/mtab @@ -282,6 +328,7 @@ ln -sf /proc/self/mounts /etc/mtab %exclude %{_libdir}/systemd/system/getty.target.wants/serial-getty@ttyS1.service %exclude %{_libdir}/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service %exclude %{_libdir}/systemd/user/default.target +/usr/share/license/%{name} %files console-ttySAC2 %defattr(-,root,root,-) -- 2.7.4