eudev/units
Andrew Edmunds 858dae181b ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc
Previously Ubuntu was treated as being equivalent to Debian, but the two
distributions require different behaviour in certain places.  This commit does
not change the behaviour of systemd on either distro but it creates a
framework for changes to be introduced by later commits.

The following previously meant "Target is Debian or Ubuntu".
    * configure option "--with-distro=debian"
    * C preprocessor symbol "TARGET_DEBIAN"
    * Automake conditional "TARGET_DEBIAN"
After this commit, all of the above are redefined to mean "Target is Debian"

The following are introduced to mean "Target is Ubuntu".
    * configure option "--with-distro=ubuntu"
    * C preprocessor symbol "TARGET_UBUNTU"
    * Automake conditional "TARGET_UBUNTU"

Most code written for Debian will also be applicable to Ubuntu. An extra
Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid
duplication of code that would otherwise occur.

This commit updates configure.ac, Makefile.am and distro-specific source files
in line with the above definitions.
2010-10-25 21:09:56 +02:00
..
arch units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations 2010-10-14 02:58:37 +02:00
debian units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations 2010-10-14 02:58:37 +02:00
fedora fedora: add compat unit for /sbin/halt.local 2010-10-14 03:59:49 +02:00
gentoo units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations 2010-10-14 02:58:37 +02:00
session units: introduce kexec.service, kexec.target and exit.target 2010-10-14 00:57:52 +02:00
suse units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations 2010-10-14 02:58:37 +02:00
.gitignore units: activate wall agent automatically if something is dropped in /dev/.systemd/ask-password 2010-10-25 21:02:01 +02:00
basic.target unit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop= 2010-08-11 01:44:37 +02:00
bluetooth.target units: add missing target files 2010-07-13 04:05:31 +02:00
dbus.target build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus 2010-07-10 00:22:38 +02:00
dev-hugepages.automount units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
dev-hugepages.mount mount: add automatic start ordering dependencies for mounts 2010-07-12 22:55:27 +02:00
dev-mqueue.automount units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
dev-mqueue.mount mount: add automatic start ordering dependencies for mounts 2010-07-12 22:55:27 +02:00
emergency.service unit: continue boot when exiting emergency/resuce shell 2010-10-06 02:44:15 +02:00
emergency.target unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
final.target units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
fsck-root.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
fsck@.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
getty.target units: getty.target is pulled in via /lib these days 2010-09-29 03:03:37 +02:00
getty@.service.m4 ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc 2010-10-25 21:09:56 +02:00
graphical.target.m4 unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
halt.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
halt.target target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization 2010-09-03 01:42:57 +02:00
http-daemon.target units: add generic description for http-daemon.target 2010-09-14 00:22:47 +02:00
hwclock-load.service syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
hwclock-save.service units: enable hwclock by default 2010-09-21 21:33:24 +02:00
kexec.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
kexec.target units: introduce kexec.service, kexec.target and exit.target 2010-10-14 00:57:52 +02:00
local-fs.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
mail-transfer-agent.target unit: ship a mail-transfer-agent.target unit by default 2010-05-24 22:30:54 +02:00
Makefile build-sys: add small redirecting Makefiles to simplify compilation from within emacs 2010-05-17 01:44:03 +02:00
multi-user.target.m4 ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc 2010-10-25 21:09:56 +02:00
network.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
nss-lookup.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
poweroff.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
poweroff.target target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization 2010-09-03 01:42:57 +02:00
printer.target units: add missing target files 2010-07-13 04:05:31 +02:00
proc-sys-fs-binfmt_misc.automount units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
proc-sys-fs-binfmt_misc.mount mount: add automatic start ordering dependencies for mounts 2010-07-12 22:55:27 +02:00
quotacheck.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
quotaon.service syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
reboot.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
reboot.target target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization 2010-09-03 01:42:57 +02:00
remote-fs.target.m4 units: add [Install] section to getty.target and remote-fs.target 2010-07-22 02:39:21 +02:00
remount-rootfs.service syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
rescue.target unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
rpcbind.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
rtc-set.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
serial-getty@.service.m4 units: enable utmp for serial gettys too 2010-10-08 18:22:44 +02:00
shutdown.target target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization 2010-09-03 01:42:57 +02:00
sigpwr.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
smartcard.target units: introduce smartcard.target 2010-07-16 21:32:11 +02:00
sockets.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
swap.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
sys-kernel-debug.automount units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
sys-kernel-debug.mount mount: add automatic start ordering dependencies for mounts 2010-07-12 22:55:27 +02:00
sys-kernel-security.automount units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
sys-kernel-security.mount mount: add automatic start ordering dependencies for mounts 2010-07-12 22:55:27 +02:00
sysctl.service syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
sysinit.target.m4 fsck: properly hook in fsck everywhere, add special support for fsck'ing root dir 2010-10-19 23:45:18 +02:00
syslog.socket units: order syslog.target after syslog.socket 2010-10-21 13:49:21 +02:00
syslog.target.in units: we should be able to reach syslog.target even if no logger is enabled at all 2010-09-10 17:17:57 +02:00
systemd-ask-password-wall.path units: activate wall agent automatically if something is dropped in /dev/.systemd/ask-password 2010-10-25 21:02:01 +02:00
systemd-ask-password-wall.service.in units: activate wall agent automatically if something is dropped in /dev/.systemd/ask-password 2010-10-25 21:02:01 +02:00
systemd-initctl.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-initctl.socket syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-kmsg-syslogd.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-logger.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-logger.socket syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-modules-load.service.in units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
systemd-random-seed-load.service.in units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
systemd-random-seed-save.service.in units: always enable random-seed, module-load, vconsole 2010-09-21 21:25:44 +02:00
systemd-readahead-collect.service.in units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
systemd-readahead-done.service.in units: properly terminate readahead collection 10s after boot 2010-09-29 02:55:36 +02:00
systemd-readahead-done.timer units: properly terminate readahead collection 10s after boot 2010-09-29 02:55:36 +02:00
systemd-readahead-replay.service.in units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
systemd-remount-api-vfs.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-shutdownd.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-shutdownd.socket syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-tmpfiles-clean.service.in tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
systemd-tmpfiles-clean.timer tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
systemd-tmpfiles-setup.service.in tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
systemd-update-utmp-runlevel.service.in fsck: properly hook in fsck everywhere, add special support for fsck'ing root dir 2010-10-19 23:45:18 +02:00
systemd-update-utmp-shutdown.service.in units: make sure the file system is writable before we write utmp data 2010-09-14 01:07:06 +02:00
systemd-user-sessions.service.in systemd-user-sessions: install .service file and enable by default 2010-10-07 23:48:48 +02:00
systemd-vconsole-setup.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
tmp.mount units: add optional tmp.service 2010-09-22 13:01:15 +02:00
umount.target units: don't add shutdown conflicts dep to umount.target 2010-09-03 02:20:39 +02:00
var-lock.mount units: enable var-run + var-lock service by default 2010-09-21 21:43:40 +02:00
var-run.mount units: enable var-run + var-lock service by default 2010-09-21 21:43:40 +02:00