systemd/debian/rules
Michael Biebl 60b9d86fe5 Fix hwclock
Since we mask hwclock and hwclockfirst, we need to run hwclock-save.service
on shutdown now.
To avoid running hwclock twice during boot, we remove
sysinit.target.wants/hwclock-load.service. hwclock is already triggered
by /lib/udev/rules.d/85-hwclock.rules. This needs further coordination
with udev.
2011-01-16 10:06:21 +01:00

29 lines
754 B
Makefile
Executable File

#! /usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS="nostrip"
override_dh_auto_configure:
dh_auto_configure -- --with-rootdir= \
--with-udevrulesdir=/lib/udev/rules.d \
--enable-gtk \
--enable-libcryptsetup
override_dh_auto_clean:
dh_auto_clean
rm -f man/*.[1358]
rm -f src/systemadm.c
rm -f src/gnome-ask-password-agent.c
rm -f src/systemd-interfaces.c
override_dh_install:
rm debian/tmp/usr/share/doc/systemd/LICENSE
rm debian/tmp/lib/security/pam_systemd.la
# udev already triggers hwclock during boot
rm debian/tmp/etc/systemd/system/sysinit.target.wants/hwclock-load.service
dh_install -O--parallel --fail-missing
dh_install -plibpam-systemd debian/pam-configs /usr/share
%:
dh $@ --parallel --with autoreconf