summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2013-09-09build-sys: gpt-auto-generator depends on HAVE_BLKIDMarcel Holtmann
2013-08-22test: Make testing work on systems without or old systemdHolger Hans Peter Freyther
* Introduce a macro to conditionally execute tests. This avoids skipping the entire test if some parts require systemd * Skip the journal tests when no /etc/machine-id is present * Change test-catalog to load the catalog from the source directory of systemd. * /proc/PID/comm got introduced in v2.6.33 but travis is still using v2.6.32. * Enable make check and make distcheck on the travis build * Use -D"CATALOG_DIR=STR($(abs_top_srcdir)/catalog)" as a STRINGIY would result in the path '/home/ich/source/linux' to be expanded to '/home/ich/source/1' as linux is defined to 1.
2013-08-15build-sys: add clean-python targetZbigniew Jędrzejewski-Szmek
Building for a different version of Python requires removing all build products for the old version. There's no nice way to do it, short of doing 'make clean'. The new 'clean-python' target is a bit hacky, but seems to work: ./configure PYTHON=python2 && make && make install make clean-python ./configure PYTHON=python3 --disable-gtk-doc --disable-man-pages && make && make install should install modules for both versions of Python.
2013-08-15zsh_completion: Allow specifying multiple argumentsWilliam Giokas
Some of the options in systemd can take multiple arguments, such as systemctl's --type option. Previously, you would only be able to complete a single type after the -t, but now zsh will continue to complete the types, separating them by commas. systemd-inhibit's --what command has colon (:), and that has been taken into account.
2013-08-14zsh_completion: Move helper function to autoloadWilliam Giokas
_hosts_or_user_at_host was used by 6 different completions, and previously was in all 6 of those files. I moved it out to its own file, _sd_hosts_or_user_at_host. This will be autoloaded for use in other completion functions. It also allows external completions to use this function by simply calling _sd_hosts_or_user_at_host as in the systemd completions.
2013-08-14backlight: add minimal tool to save/restore screen brightness across rebootsLennart Poettering
As many laptops don't save/restore screen brightness across reboots, let's do this in systemd with a minimal tool, that restores the brightness as early as possible, and saves it as late as possible. This will cover consoles and graphical logins, but graphical desktops should do their own per-user stuff probably. This only touches firmware brightness controls for now.
2013-08-13gpt-auto-generator: add basic auto-discovery of GPT partitionsLennart Poettering
This adds a simple generator that is capable of automatically discovering certain GPT partitions by their type UUID and mount/enable them. This currently covers swap partitions and /home partitions, but is expected to grow more features soon. This currently doesn't handle LUKS encrypted /home. This enables all swap partitions of type 0657fd6da4ab43c484e50933c84b4f4f, if found. This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915 as /home, if it is found.
2013-08-03build-sys: link with librt if linking with libsd-daemon-intZbigniew Jędrzejewski-Szmek
In fba1ea0 'build: do not link everything with -lrt (and therefore -pthread)' librt was removed from the list of libraries. But libsd-daemon-internal also uses symbols from librt and librt must thus be added everywhere where libsd-daemon-interal is used, or otherwise linking might fail: /usr/bin/ld: ./.libs/libudev-core.a(sd-daemon.o): undefined reference to symbol 'mq_getattr@@GLIBC_2.3.4' /usr/bin/ld: note: 'mq_getattr@@GLIBC_2.3.4' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
2013-08-03zsh completion: add _kernel-installDaniel Wallace
2013-08-03pkg-config: export systemd{system,user}generatordir and catalogdirZbigniew Jędrzejewski-Szmek
We export the location of a bunch of directories this way, so it makes sense to add those three. Especially catalogdir is something that we want people to add things to. Note on the naming: the first two are tied closely to systemd itself, so I prefixed them with "systemd". The third one is rather more generic, so no prefix. https://bugs.freedesktop.org/show_bug.cgi?id=67635
2013-08-02tests: add a program for repetitive opening and closing of the journalZbigniew Jędrzejewski-Szmek
Basically wraps an example provided by George McCollister. Should help with leaks in the future.
2013-08-02coredumpctl: add more debug outputZbigniew Jędrzejewski-Szmek
It can be quite useful when somebody confuses _PID with COREDUMP_PID :).
2013-08-02zsh_completion: Split out zsh _systemd-tmpfilesWilliam Giokas
You can choose to have systemd-tmpfiles at configuration time, so only install the completion for this if configured to do so.
2013-08-02zsh_completion: Split out zsh _machinectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-analyzeWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-inhibitWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-nspawnWilliam Giokas
Also fix the random lack of completion
2013-08-02zsh_completion: Split out zsh _udevadmWilliam Giokas
2013-08-02zsh_completion: Split out zsh _timedatectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _coredumpctlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _localectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _journalctlWilliam Giokas
Re-ordered some of the options and added a few that were missing previously as well.
2013-08-02zsh_completion: Split out zsh _hostnamectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _loginctlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemctlWilliam Giokas
2013-08-02zsh_completion: fix zsh completion installationWilliam Giokas
Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: ./configure --with-zshcompletiondir=/path/to/some/where and by default going to `$datadir/zsh/site-functions`
2013-07-30build: do not link everything with -lrt (and therefore -pthread)Shawn Landden
2013-07-26build-sys: use pkg-config for python compilation flagsZbigniew Jędrzejewski-Szmek
Python 2.7, and 3.2 and higher support querying compilation flags through pkg-config. This makes python support follow rules similar to various other optional compilation-time libraries. New flags are called PYTHON_DEVEL_CFLAGS and PYTHON_DEVEL_LIBS, because PYTHON (without _DEVEL), is already used for the python binary name, and things would be confusing if the same prefix was used for two things. configure has --disable-python-devel to disable python modules. One advantage is that CFLAGS for modules gets smaller: - -I/usr/include/python3.3m -I/usr/include/python3.3m -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv + -I/usr/include/python3.3m as does LIBS: - -lpthread -ldl -lutil -lm -lpython3.3m + -lpython3.3m Support for Python 2.6 is removed, but can be easily restored by using PYTHON_DEVEL_CFLAGS="$(python2.6-config --cflags)", etc., as ./configure parameters. https://bugs.freedesktop.org/show_bug.cgi?id=57800
2013-07-26shared: split mkdir_*() and mkdir_*_label() from each otherKay Sievers
Avoid pulling-in selinux for tools which just create directories but not need to fix the selinux label.
2013-07-26shell-completion: add kernel-installKay Sievers
2013-07-23remove systemd-timestamp from sourcesDave Reisner
No sense in keeping this around if support for reading RD_TIMESTAMP has been removed.
2013-07-23build-sys: prepare 206systemd/v206Lennart Poettering
2013-07-19make: Automake is complaining about .PRECIOUS being redefinedHolger Hans Peter Freyther
Yesterday I added test-suite.log as dependency to the .PRECIOUS target. Automake is warning about this target being redefined and from what I see there is no way I can stop the warning but I can add the %MAKEFILE% as dependency. automake warning: Makefile.am:35: warning: user target '.PRECIOUS' defined here ... /usr/share/automake-1.13/am/configure.am: ... overrides Automake target '.PRECIOUS' defined here [zj: s/%MAKEFILE%/Makefile/ because %MAKEFILE% wasn't actually substituted properly.]
2013-07-18test: Keep the test-suite.log around in case of a test failureHolger Hans Peter Freyther
The addition of .DELETE_ON_ERROR will lead to the removal of the test-suite.log in case of a test failure. Mark the rule as PRECIOUS to keep that file around.
2013-07-16switch from udev keymaps to hwdbKay Sievers
2013-07-15build-sys: make generated man pages part of the distribution tarballZbigniew Jędrzejewski-Szmek
They were removed by mistake, and since we ship .html files, we certainly should ship man pages. https://bugs.freedesktop.org/show_bug.cgi?id=61753
2013-07-15build-sys: discover the path to kexec during build timeZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=55248
2013-07-13Add test coverage and generate report with lcovThomas H.P. Andersen
Enable coverage with --enable-coverage. "make coverage" will create the report locally, "make coverage-sync" will upload the report to http://www.freedesktop.org/software/systemd/coverage/. Requires lcov version 1.10 to handle naming in systemd and to use the --no-external option. [zj: make the coverage at least generate something with separate build dir, simplify rules a bit: all errors are mine. ]
2013-07-12static-nodes: don't hardcode path to mkdirTom Gundersen
2013-07-10udev: add builtin 'keyboard' to manage key mappingsKay Sievers
2013-07-08static-nodes: move creation of static nodes from udevd to tmpfilesTom Gundersen
As of kmod v14, it is possible to export the static node information from /lib/modules/`uname -r`/modules.devname in tmpfiles.d(5) format. Use this functionality to let systemd-tmpfilesd create the static device nodes at boot, and drop the functionality from systemd-udevd. As an effect of this we can move from systemd-udevd to systemd-tmpfiles-setup-dev: * the conditional CAP_MKNOD (replaced by checking if /sys is mounted rw) * ordering before local-fs-pre.target (see 89d09e1b5c65a2d97840f682e0932c8bb499f166)
2013-07-05tests: add tests for string lookup tablesZbigniew Jędrzejewski-Szmek
The tests check if the tables have entries for all values in the enum, and that the entries are unique.
2013-07-03build-sys: bump/correct library versionsLennart Poettering
2013-07-02build-sys: two files were missing in distcheckZbigniew Jędrzejewski-Szmek
One is a typo, the other one doesn't actually exist yet.
2013-07-02build-sys: work around automake issue with files with a leading '-'Kay Sievers
We should probably work around it, until it is sorted out. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14728
2013-07-02build-sys: install rpm macros file to /usr/lib/rpm/macros.dFedora systemd team
RPM macros are moved from /etc to /usr, in the sprit of moving in the direction of empty /etc. RPM gained support for the new directory recently, in v. 4.10.90: https://bugzilla.redhat.com/show_bug.cgi?id=846679.
2013-07-02machined: split out machine registration stuff from logindLennart Poettering
Embedded folks don't need the machine registration stuff, hence it's nice to make this optional. Also, I'd expect that machinectl will grow additional commands quickly, for example to join existing containers and suchlike, hence it's better keeping that separate from loginctl.
2013-07-01keymap: remove non-existing driver string matchesKay Sievers
There are no such strings for input devices in the kernel.
2013-07-01core: add new "scope" unit type for making a unit of pre-existing processesLennart Poettering
"Scope" units are very much like service units, however with the difference that they are created from pre-existing processes, rather than processes that systemd itself forks off. This means they are generated programmatically via the bus API as transient units rather than from static configuration read from disk. Also, they do not provide execution-time parameters, as at the time systemd adds the processes to the scope unit they already exist and the parameters cannot be applied anymore. The primary benefit of this new unit type is to create arbitrary cgroups for worker-processes forked off an existing service. This commit also adds a a new mode to "systemd-run" to run the specified processes in a scope rather then a transient service.
2013-06-29build-sys: "link" libsystemd-id128.so with libsystemd-labelZbigniew Jędrzejewski-Szmek
Fixed build on debian wheezy: ./.libs/libudev.so: undefined reference to `cg_create' Appears to have no influence on the resulting binaries and libraries. Cf. b5fafdf63f.