From 7edfba63ea1e93f2e0bd34b66c8dc21eb67a63804df8d786678bb467b10a96c2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 17 Aug 2010 08:40:32 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=56 --- systemd-7.tar.bz2 | 4 ++-- systemd.changes | 14 ++++++++++++++ systemd.spec | 18 ++++++------------ 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/systemd-7.tar.bz2 b/systemd-7.tar.bz2 index edfd95d3..1ae06a8b 100644 --- a/systemd-7.tar.bz2 +++ b/systemd-7.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:951cb958080e24b211d4f24d6bf78358295bfda69d5ab301e94c3ccd8f1b90c1 -size 644164 +oid sha256:7d5ba7f86cbc92ed614230baae34034cefd6830ead204ab9df7d51eded3fd37a +size 650968 diff --git a/systemd.changes b/systemd.changes index 8e7f8b69..aa9911ca 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Aug 17 09:01:04 CEST 2010 - kay.sievers@novell.com + +- add support for delayed shutdown, similar to sysv in style +- rename Type=finish to Type=oneshot and allow multiple ExecStart= +- don't show ENOENT for non exitent configuration files +- log build time features on startup +- rearrange structs to make them smaller +- move runlevel[2-5] links to /lib +- create default.target link to /lib not /etc +- handle random-seed +- write utmp record before we kill all processes +- create /var/lock/subsys, /var/run/utmp + ------------------------------------------------------------------- Wed Aug 11 11:29:17 CEST 2010 - kay.sievers@novell.com diff --git a/systemd.spec b/systemd.spec index 763d3667..260bd9d1 100644 --- a/systemd.spec +++ b/systemd.spec @@ -113,31 +113,29 @@ if [ "$1" -eq 1 ]; then if [ -z "$runlevel" ] ; then target="/lib/systemd/system/graphical.target" else - target="/etc/systemd/system/runlevel$runlevel.target" + target="/lib/systemd/system/runlevel$runlevel.target" fi /bin/ln -sf "$target" /etc/systemd/system/default.target 2>&1 || : - # Enable the services we install by default. + # Enable these services by default. /bin/systemctl enable getty@.service >/dev/null 2>&1 || : /bin/systemctl enable getty.target >/dev/null 2>&1 || : /bin/systemctl enable remote-fs.target >/dev/null 2>&1 || : - /bin/systemctl enable var-run.mount >/dev/null 2>&1 || : - /bin/systemctl enable var-lock.mount >/dev/null 2>&1 || : + /bin/systemctl enable var-run.service >/dev/null 2>&1 || : + /bin/systemctl enable var-lock.service >/dev/null 2>&1 || : fi # Make sure we always enable these basic services, in case something went # wrong at the time these packages got installed. Usual systems can not # properly work without these services. /bin/systemctl enable udev.service >/dev/null 2>&1 || : /bin/systemctl enable dbus.service >/dev/null 2>&1 || : -# temporary fix -/bin/systemctl enable getty.target >/dev/null 2>&1 || : %preun if [ $1 -eq 0 ]; then /bin/systemctl disable getty@.service >/dev/null 2>&1 || : /bin/systemctl disable getty.target >/dev/null 2>&1 || : /bin/systemctl disable remote-fs.target >/dev/null 2>&1 || : - /bin/systemctl disable var-run.mount >/dev/null 2>&1 || : - /bin/systemctl disable var-lock.mount >/dev/null 2>&1 || : + /bin/systemctl disable var-run.service >/dev/null 2>&1 || : + /bin/systemctl disable var-lock.service >/dev/null 2>&1 || : rm -f /etc/systemd/system/default.target 2>&1 || : fi @@ -158,10 +156,6 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/systemd/system.conf %config(noreplace) %{_sysconfdir}/systemd/system/ctrl-alt-del.target %config(noreplace) %{_sysconfdir}/systemd/system/kbrequest.target -%config(noreplace) %{_sysconfdir}/systemd/system/runlevel2.target -%config(noreplace) %{_sysconfdir}/systemd/system/runlevel3.target -%config(noreplace) %{_sysconfdir}/systemd/system/runlevel4.target -%config(noreplace) %{_sysconfdir}/systemd/system/runlevel5.target %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service