mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-16 15:13:10 +00:00
If the new init-system-helpers package is installed, make the debian-enable-units script a no-op.
The auto-enabler was meant as a temporary workaround and will be removed once all packages use the new helper.
This commit is contained in:
parent
7741086a26
commit
445f8dfd5b
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -3,6 +3,10 @@ systemd (44-12) UNRELEASED; urgency=low
|
||||
* Cherry-pick e17187 from upstream to fix build failures with newer glibc
|
||||
where the clock_* symbols have been moved from librt to libc.
|
||||
Closes: #701364
|
||||
* If the new init-system-helpers package is installed, make the
|
||||
debian-enable-units script a no-op. The auto-enabler was meant as a
|
||||
temporary workaround and will be removed once all packages use the new
|
||||
helper.
|
||||
|
||||
-- Michael Biebl <biebl@debian.org> Thu, 20 Jun 2013 00:54:30 +0200
|
||||
|
||||
|
||||
6
debian/debian-enable-units
vendored
6
debian/debian-enable-units
vendored
@ -5,6 +5,12 @@ enabled_units=/var/lib/systemd/enabled-units
|
||||
statedir=/var/lib/systemd
|
||||
unitdir=/lib/systemd/system
|
||||
|
||||
# If a package is installed using init-system-helpers, do nothing.
|
||||
# We don't want to interfere in such a case
|
||||
if [ -x /usr/bin/deb-systemd-helper ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# If systemd is not running, schedule a run on next boot
|
||||
if ! [ -e /sys/fs/cgroup/systemd ] ; then
|
||||
touch $statedir/run-debian-enable-units
|
||||
|
||||
Loading…
Reference in New Issue
Block a user