forked from pool/systemd
checked in (request 47338)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=59
This commit is contained in:
parent
19385119e9
commit
a6580993f8
3
systemd-7.tar.bz2
Normal file
3
systemd-7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:951cb958080e24b211d4f24d6bf78358295bfda69d5ab301e94c3ccd8f1b90c1
|
||||||
|
size 644164
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:31323d052daff12e86b9971b2ecd20c12f4ac41ed04ee11a1eb2686a2c9bb313
|
|
||||||
size 666685
|
|
@ -1,55 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Sep 3 11:52:42 CEST 2010 - kay.sievers@novell.com
|
|
||||||
|
|
||||||
- version 9
|
|
||||||
- units: don't add shutdown conflicts dep to umount.target
|
|
||||||
- dbus: don't send cgroup agent messages directly to system bus
|
|
||||||
- dbus: don't accept activation requests anymore if we are going
|
|
||||||
down anyway
|
|
||||||
- systemctl: fix return value of systemctl start and friends
|
|
||||||
- service: wait for process exit only if we actually killed
|
|
||||||
somebody
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 26 22:14:04 CEST 2010 - kay.sievers@novell.com
|
|
||||||
|
|
||||||
- version 8
|
|
||||||
- KERNEL 2.6.36+ REQUIRED!
|
|
||||||
- mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
|
|
||||||
- invoke sulogin instead of /bin/sh
|
|
||||||
- systemctl: show timestamps for state changes
|
|
||||||
- add global configuration options for handling of auto mounts
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Aug 20 06:51:26 CEST 2010 - kay.sievers@novell.com
|
|
||||||
|
|
||||||
- apply /etc/fstab mount options to all api mounts
|
|
||||||
- properly handle LABEL="" in fstab
|
|
||||||
- do not consider LSB exit codes 5 and 6 as failure
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 17 22:54:41 CEST 2010 - kay.sievers@novell.com
|
|
||||||
|
|
||||||
- prefix sysv job descriptions with LSB:
|
|
||||||
- add native sysctl + hwclock + random seed service files
|
|
||||||
- properly fallback to rescue.target if default.target is hosed
|
|
||||||
- rename ValidNoProcess= to RemainAfterExit=
|
|
||||||
- add systemd-modules-load tool to handle /etc/modules.d/
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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
|
Wed Aug 11 11:29:17 CEST 2010 - kay.sievers@novell.com
|
||||||
|
|
||||||
|
64
systemd.spec
64
systemd.spec
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: systemd
|
Name: systemd
|
||||||
Url: http://www.freedesktop.org/wiki/Software/systemd
|
Url: http://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 9
|
Version: 7
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
@ -34,8 +34,8 @@ BuildRequires: pam-devel
|
|||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: dbus-1-glib-devel gtk2-devel
|
BuildRequires: dbus-1-glib-devel gtk2-devel
|
||||||
BuildRequires: libselinux-devel libsepol-devel
|
BuildRequires: libselinux-devel libsepol-devel
|
||||||
Requires: udev >= 162
|
Requires: udev >= 160
|
||||||
Requires: dbus-1 >= 1.4.0
|
Requires: dbus-1 >= 1.3.2
|
||||||
Conflicts: mkinitrd < 2.6.0-5
|
Conflicts: mkinitrd < 2.6.0-5
|
||||||
Source0: http://www.freedesktop.org/software/systemd/releases/%{name}-%{version}.tar.bz2
|
Source0: http://www.freedesktop.org/software/systemd/releases/%{name}-%{version}.tar.bz2
|
||||||
Source1: systemd-rpmlintrc
|
Source1: systemd-rpmlintrc
|
||||||
@ -99,14 +99,12 @@ ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit
|
|||||||
ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel
|
ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel
|
||||||
rm -rf $RPM_BUILD_ROOT/etc/systemd/system/*.target.wants
|
rm -rf $RPM_BUILD_ROOT/etc/systemd/system/*.target.wants
|
||||||
rm -f $RPM_BUILD_ROOT/etc/systemd/system/default.target
|
rm -f $RPM_BUILD_ROOT/etc/systemd/system/default.target
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/modules.d
|
|
||||||
# alias for /etc/init.d/*
|
%pre
|
||||||
ln -s hwclock-load.service $RPM_BUILD_ROOT/lib/systemd/system/clock.service
|
# kernel changes are pending to move this to /sys/fs/cgroup
|
||||||
ln -s systemd-random-seed-load.service $RPM_BUILD_ROOT/lib/systemd/system/random.service
|
mkdir -p -m 0755 /cgroup || :
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/bin/systemctl daemon-reexec >/dev/null 2>&1 || :
|
|
||||||
|
|
||||||
# Create default config in /etc at first install.
|
# Create default config in /etc at first install.
|
||||||
# Later package updates should not overwrite these settings.
|
# Later package updates should not overwrite these settings.
|
||||||
if [ "$1" -eq 1 ]; then
|
if [ "$1" -eq 1 ]; then
|
||||||
@ -115,36 +113,31 @@ if [ "$1" -eq 1 ]; then
|
|||||||
if [ -z "$runlevel" ] ; then
|
if [ -z "$runlevel" ] ; then
|
||||||
target="/lib/systemd/system/graphical.target"
|
target="/lib/systemd/system/graphical.target"
|
||||||
else
|
else
|
||||||
target="/lib/systemd/system/runlevel$runlevel.target"
|
target="/etc/systemd/system/runlevel$runlevel.target"
|
||||||
fi
|
fi
|
||||||
/bin/ln -sf "$target" /etc/systemd/system/default.target 2>&1 || :
|
/bin/ln -sf "$target" /etc/systemd/system/default.target 2>&1 || :
|
||||||
# Enable these services by default.
|
# Enable the services we install by default.
|
||||||
/bin/systemctl enable \
|
/bin/systemctl enable getty@.service >/dev/null 2>&1 || :
|
||||||
getty@.service \
|
/bin/systemctl enable getty.target >/dev/null 2>&1 || :
|
||||||
getty.target \
|
/bin/systemctl enable remote-fs.target >/dev/null 2>&1 || :
|
||||||
remote-fs.target \
|
/bin/systemctl enable var-run.mount >/dev/null 2>&1 || :
|
||||||
hwclock-save.service \
|
/bin/systemctl enable var-lock.mount >/dev/null 2>&1 || :
|
||||||
sysctl.service \
|
|
||||||
systemd-random-seed-load.service \
|
|
||||||
systemd-random-seed-save.service \
|
|
||||||
systemd-modules-load.service \
|
|
||||||
var-run.service \
|
|
||||||
var-lock.service >/dev/null 2>&1 || :
|
|
||||||
fi
|
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
|
%preun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/bin/systemctl disable \
|
/bin/systemctl disable getty@.service >/dev/null 2>&1 || :
|
||||||
getty@.service \
|
/bin/systemctl disable getty.target >/dev/null 2>&1 || :
|
||||||
getty.target \
|
/bin/systemctl disable remote-fs.target >/dev/null 2>&1 || :
|
||||||
remote-fs.target \
|
/bin/systemctl disable var-run.mount >/dev/null 2>&1 || :
|
||||||
hwclock-save.service \
|
/bin/systemctl disable var-lock.mount >/dev/null 2>&1 || :
|
||||||
sysctl.service \
|
|
||||||
systemd-random-seed-load.service \
|
|
||||||
systemd-random-seed-save.service \
|
|
||||||
systemd-modules-load.service \
|
|
||||||
var-run.service \
|
|
||||||
var-lock.service >/dev/null 2>&1 || :
|
|
||||||
rm -f /etc/systemd/system/default.target 2>&1 || :
|
rm -f /etc/systemd/system/default.target 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -162,10 +155,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_sysconfdir}/systemd/system
|
%dir %{_sysconfdir}/systemd/system
|
||||||
%dir %{_sysconfdir}/systemd/session
|
%dir %{_sysconfdir}/systemd/session
|
||||||
%dir %{_sysconfdir}/xdg/systemd/session
|
%dir %{_sysconfdir}/xdg/systemd/session
|
||||||
%dir %{_sysconfdir}/modules.d
|
|
||||||
%config(noreplace) %{_sysconfdir}/systemd/system.conf
|
%config(noreplace) %{_sysconfdir}/systemd/system.conf
|
||||||
%config(noreplace) %{_sysconfdir}/systemd/system/ctrl-alt-del.target
|
%config(noreplace) %{_sysconfdir}/systemd/system/ctrl-alt-del.target
|
||||||
%config(noreplace) %{_sysconfdir}/systemd/system/kbrequest.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
|
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf
|
||||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
|
||||||
%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
|
%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
|
||||||
|
Loading…
Reference in New Issue
Block a user