summaryrefslogtreecommitdiff
path: root/src/hostname-setup.c
AgeCommit message (Collapse)Author
2012-04-12move more common files to shared/ and add them to shared.laKay Sievers
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2011-11-02Add Mageia supportDexter Morgan
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-10-11hostname-setup: Frugalware switched to /etc/hostnameMiklos Vajna
2011-04-20MeeGo supportChris E Ferron
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-16hostname: split out hostname validation into util.cLennart Poettering
2011-03-14hostname: don't override the hostname with localhost if it is already set ↵Lennart Poettering
and /etc/hostname unset
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey Borzenkov
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-02-08build-sys: initial support ALTLinuxAlexey Shabalin
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.
2010-11-29build-sys: frugalware linux supportMiklos Vajna
2010-08-19hostname: if no hostname is configured use localhostLennart Poettering
2010-08-19hostname: on all distros make the name configured in /etc/hostname take ↵Lennart Poettering
precedence over distro-specific configuration In order to unify configuration across distributions we pick the simple-most option by default (Debian's /etc/hostname) and then fall back to distro-specific hacks if that doesn't exist.
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-07-20hostname: properly deal with unset hostname in fedora configurationLennart Poettering
2010-07-07util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word ↵Lennart Poettering
size
2010-06-02hostname: keep dots in hostnameLennart Poettering
2010-05-16build-sys: move source files to subdirectoryLennart Poettering