Commit graph

12 commits

Author SHA1 Message Date
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
Kay Sievers fd5bf055ac use .conf for new config files: locale, vconsole, modules.d 2010-09-28 11:51:24 +02:00
Michael Biebl f6943caa53 Need to use #elif defined(DEBIAN) here...
This fixes a c&p error in 7472744bf9
2010-09-27 19:11:21 +02:00
Michael Biebl 7472744bf9 debian: add locale compat support
Read LANG from /etc/default/locale.
2010-09-27 18:40:51 +02:00
Kay Sievers 03aeb5bed0 suse: locale + vconsole compat support 2010-09-21 15:08:04 +02:00
Lennart Poettering 653ab83b18 vconsole: make sure we don't merge configuration settings from different sources 2010-09-21 03:16:28 +02:00
Lennart Poettering ce8a6aa1a0 locale: make sure we don't merge configuration settings from different sources 2010-09-21 01:51:23 +02:00
Lennart Poettering 8780d48d86 locale: unset locale vars that are not set any longer 2010-09-21 01:40:34 +02:00
Lennart Poettering 97e3d13fb4 locale: never use LC_ALL. It's evil. 2010-09-21 01:37:42 +02:00
Gustavo Sverzut Barbieri 918f4c69fa gentoo: locale-setup support
Use locale variables from /etc/profile.env as Gentoo's openrc
runscript does (tool that is used by /etc/init.d/* services).
2010-09-21 00:49:13 +02:00
Tom Gundersen f2fcd59ffa locale: set LANG on Arch
This variable is defined in /etc/rc.conf
2010-09-20 23:14:28 +02:00
Lennart Poettering 72bca11ba2 locale: initialize locale from /etc/locale by default 2010-09-16 01:57:42 +02:00