Commit graph

25 commits

Author SHA1 Message Date
Lennart Poettering e5e83e8362 build-sys: make readahead and vconsole optional 2011-12-31 19:45:41 +01:00
Dexter Morgan 6fdae8a6a4 Add Mageia support
This patch adds support for the Mageia Linux distribution:
 http://www.mageia.org/

Mageia is a fork of Mandriva although some divergence has already occured
and thus inclusion of these changes upstream allow us to (hopefully)
migrate more rapidly to the new standard approaches systemd offers.
Indeed, we already use the preferred mechanism of OS identification via
the /etc/os-release file rather than a distro specific variation.

This patch mostly mirrors the patch added previously for Mandriva
support. In addition to those original authors, this patch was mostly
written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-02 02:16:39 +01:00
Lennart Poettering e99fa3cba5 vconsole: don't parse Fedora's KEYMAP= kernel parameters anymore
KEYMAP are use to pass keymap configuration to initrd, but not to the
system itself. Since the initrd might get out of date we need to make
sure that changes made in userspace override the settings from the
cmdline, hence drpo any use of it all for these variables.
2011-09-28 04:34:17 +02:00
Lennart Poettering b52aae1d93 util: move virtualization detection into its own files, and extend return codes 2011-09-23 17:00:33 +02:00
Lennart Poettering 4c12626c8e umask: change default umask to 0022 just to be sure, and set it explicitly in all binaries, in order to make sure it is set when started from the terminal 2011-08-01 20:52:18 +02:00
Lennart Poettering a96257af78 vconsole: use open_terminal() instead of open() 2011-05-03 17:58:28 +02:00
Lennart Poettering 944d4c91e6 vconsole: don't set console font/keymap if settings are empty
https://bugs.freedesktop.org/show_bug.cgi?id=36052

If KEYMAP= is set to the empty string in /etc/vconsole leave the kernel
keymap loaded.

Similar for FONT=.
2011-04-20 04:30:08 +02:00
Chris E Ferron 54e4fdef80 MeeGo support
This commit consists of the initial work to include MeeGo as a ported
distribution for systemd.

The majority of the changes are small configuration additions to auto
tools, so that MeeGo is identified as a valid distribution option.

Some small deviations will be noticed between the configuration of MeeGo
and other distributions. As MeeGo is a distribution striving for
compliancy to support its near embedded attributes and target users,
there is less user configuration options available by default. Most
services will be enabled by systemd as part of the distribution
requirements, and as such most links and service files will be pre-setup
for the MeeGo distribution. As much of this is going to be done within
the MeeGo distribution packaging this is still noteworthy to mention, as
it explains why in systemd you will observe configuration differences
where the MeeGo distribution removes all links in the pkgsysconfdir for
instance.  MeeGo will be user configurable if there is desire, but most
services will be enabled by the distribution as designated by the MeeGo
compliancy standards.

Other changes are in source to add such areas as meego-release defined
in utils, and hostname in hostname-setup, defining vconsole-setup,
localizations and rescue additions as needed.

As this is all ground work, MeeGo will continue to strive for complete
compatibility.
2011-04-20 01:05:30 +02:00
Lennart Poettering 03aea2aecd cmdline: we actually want to parse the kernel cmdline in VMs, just not in containers 2011-04-06 19:36:06 +02:00
Lennart Poettering 2fc9784656 container: skip a few things when we are run in a container such as accessing /proc/cmdline 2011-03-14 23:41:47 +01:00
Andrey Borzenkov 1de4d79bf5 build-sys: add Mandriva distribution support
This merges several separate patches that I carry as part of
Mandriva systemd RPM. They touch those parts that are very
unlikely to be changed in near future and do not impose any
functionality change for systemd core. I also think it is
useful for troubleshooting to have real distribution name in
system logs, espicially when someone reports problem upstream.

The patch looks bigger than sum of replaced patches because

- previous patches were applied on top of distro=fedora, now
I need to add all those bits for distro=mandriva as well

- part of patch was done as spec file magic, but it seems more
logical to ship all these bits together
2011-03-08 19:47:36 +01:00
Alexey Shabalin a338bab5d0 build-sys: initial support ALTLinux
Hi all!
I added basic support for ALTLinux.
Please see patch or
http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux
Thanks.
2011-02-08 12:52:06 +01:00
Miklos Vajna f5c88ec133 build-sys: frugalware linux support 2010-11-29 17:07:41 +01:00
Andrey Borzenkov 5b396b06e0 vconsole: support additional keymap for toggling layouts
At least Mandriva offers configuring characters to toggle
keyboard layout independently from main keymap. This functions
much the same as XkbOptions for X11 and actually is configured
together. The patch adds support for additional keymap,
KEYMAP_TOGGLE, to /etc/vconsole.conf, that is intended to be
used for the same purpose.
2010-11-10 23:41:54 +01:00
Kay Sievers dd36de4d52 parse_env_file() - return empty value strings like FOO="" as NULL value 2010-09-28 23:41:09 +02:00
Kay Sievers fd5bf055ac use .conf for new config files: locale, vconsole, modules.d 2010-09-28 11:51:24 +02:00
Kay Sievers 915d22e4f0 vconsole-setup: ignore empty strings like FOO="", imported from config files 2010-09-28 11:49:47 +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
Gustavo Sverzut Barbieri 9841e8e3d3 gentoo: vconsole-setup support.
This patch is a bit bigger than expected since Gentoo being
non-standard in some places.

 1. it is installing binaries at /usr/bin instead of /bin.

 2. it is using CamelCase names for consolefonts.

 3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont
    "-u" options, but do not disable the actual kernel default_utf8
    from vt module.
2010-09-21 00:43:16 +02:00
Tom Gundersen 424313503a vconsole: set keyboard mapping and font settings on Arch
These variables are defined in /etc/rc.conf
2010-09-20 23:14:23 +02:00
Lennart Poettering a18fb4823b vconsole: drop vconsole config file var prefix 2010-09-18 01:20:13 +02:00
Lennart Poettering ae509abccc vconsole: more completely cover fedora legacy vconsole configuration 2010-09-18 01:19:46 +02:00
Lennart Poettering 1ebdf5b684 vconsole: fall back to fedora specific configuration 2010-09-16 01:58:16 +02:00
Lennart Poettering 97c4a07df9 vconsole: add new utility to initialize the virtual console 2010-09-16 00:36:41 +02:00