forked from pool/systemd
Accepting request 44548 from Base:System
Copy from Base:System/systemd based on submit request 44548 from user kay_sievers OBS-URL: https://build.opensuse.org/request/show/44548 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=2
This commit is contained in:
parent
0033e16e0d
commit
8628348a96
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d569a0624d7ce409cd76ace49d2d853f9e030674e24ea585427b9079f10ba5ba
|
|
||||||
size 637332
|
|
3
systemd-5.tar.bz2
Normal file
3
systemd-5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4f7460c4b77172e8eeb124dae0b68fc99f30cfa8d38e52c9e6c441fee2c69d5e
|
||||||
|
size 638175
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 4 12:42:23 CEST 2010 - kay.sievers@novell.com
|
||||||
|
|
||||||
|
- version 5
|
||||||
|
- selinux fixes
|
||||||
|
- fix hanging 'reboot' started from vc
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 2 16:33:20 CEST 2010 - kay.sievers@novell.com
|
||||||
|
|
||||||
|
- enable getty.target by default
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 24 11:16:52 CEST 2010 - kay.sievers@novell.com
|
Sat Jul 24 11:16:52 CEST 2010 - kay.sievers@novell.com
|
||||||
|
|
||||||
|
10
systemd.spec
10
systemd.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package systemd (Version 4)
|
# spec file for package systemd (Version 5)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -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: 4
|
Version: 5
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
@ -117,19 +117,23 @@ if [ "$1" -eq 1 ]; then
|
|||||||
/bin/ln -sf "$target" /etc/systemd/system/default.target 2>&1 || :
|
/bin/ln -sf "$target" /etc/systemd/system/default.target 2>&1 || :
|
||||||
# Enable the services we install by default.
|
# Enable the services we install by default.
|
||||||
/bin/systemctl enable getty@.service >/dev/null 2>&1 || :
|
/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 remote-fs.target >/dev/null 2>&1 || :
|
||||||
/bin/systemctl enable var-run.mount >/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-lock.mount >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
# Make sure we always enable these basic services, in case something went
|
# Make sure we always enable these basic services, in case something went
|
||||||
# wrong at the time these packages got installed. Usual systems can not
|
# wrong at the time these packages got installed. Usual systems can not
|
||||||
# properly bootup without these services.
|
# properly work without these services.
|
||||||
/bin/systemctl enable udev.service >/dev/null 2>&1 || :
|
/bin/systemctl enable udev.service >/dev/null 2>&1 || :
|
||||||
/bin/systemctl enable dbus.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 getty@.service >/dev/null 2>&1 || :
|
/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 remote-fs.target >/dev/null 2>&1 || :
|
||||||
/bin/systemctl disable var-run.mount >/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-lock.mount >/dev/null 2>&1 || :
|
||||||
|
Loading…
Reference in New Issue
Block a user