From 54e4fdef80693f7fd7893bd048bb4d9a258b03a6 Mon Sep 17 00:00:00 2001 From: Chris E Ferron Date: Tue, 19 Apr 2011 12:37:51 -0700 Subject: 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. --- src/util.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/util.c') diff --git a/src/util.c b/src/util.c index c2173c7222..5a076e6e34 100644 --- a/src/util.c +++ b/src/util.c @@ -3394,7 +3394,18 @@ void status_welcome(void) { free(s); } } +#elif defined(TARGET_MEEGO) + if (!pretty_name) { + if ((r = read_one_line_file("/etc/meego-release", &pretty_name)) < 0) { + + if (r != -ENOENT) + log_warning("Failed to read /etc/meego-release: %s", strerror(-r)); + } + } + + if (!ansi_color) + const_color = "1;35"; /* Bright Magenta for MeeGo */ #endif if (!pretty_name && !const_pretty) -- cgit v1.2.3-54-g00ecf