summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2013-03-04build-sys: replace backticks `` with $()Michael Biebl
for consistencies sake use $() everywhere
2013-03-04build-sys: don't hard code bash-completion directoryMichael Biebl
2013-03-03bash-completion: split completions and move to new locationMichael Biebl
Split the large bash completion script into separate, smaller files each named after the binary it is used for and move the files to /usr/share/bash-completion/completions. This way the completions can be loaded on demand and we only install the completions for the tools we actually build. The old path /etc/bash_completion.d/ is deprecated and will disappear in the future.
2013-03-01initrd: add unit files needed for basic systemd-in-initrd supportTom Gundersen
This will: * mount all configured filesystems (typically the rootfs on /sysroot) * reload the configuration to pick up anything from the mounted fs (typically /sysroot/etc/fstab) * mount any newly configured filesystems (typically /usr on /sysroot/usr, if applicable) * shut-down and clean-up any daemons running in the initramfs (typically udevd) * switch-root to /sysroot and start the real init For an example of what files should be included in an initramfs based on this see <https://mailman.archlinux.org/pipermail/arch-projects/2013-February/003628.html>. Cc: Harald Hoyer <harald.hoyer@gmail.com> Cc: Dave Reisner <d@falconindy.com>
2013-02-28Merge branch 'python-systemd-reader'Zbigniew Jędrzejewski-Szmek
* python-systemd-reader: python-systemd: rename Journal to Reader build-sys: upload python documentation to freedesktop.org systemd-python: add Journal class for reading journal python: build html docs using sphinx journalct: also print Python code in --new-id python: utilize uuid.UUID in logging python: add systemd.id128 module ... and 34 other commits In short: python module systemd.id128 is added, and existing systemd.journal gains a new class systemd.journal.Reader, which can be used to iterate over journal entries. Documentation is provided, and accessible under e.g. pydoc3 systemd.journal.Reader or firefox http://www.freedesktop.org/software/systemd/man/python-systemd/
2013-02-28python-systemd: check all errors and use automatic cleanupZbigniew Jędrzejewski-Szmek
__REALTIME_TIMESTAMP and __MONOTONIC_TIMESTAMP return ints. It doesn't make sense to convert to string, just to convert back to a number later on. Also try to follow systemd rules for indentation.
2013-02-28build-sys: upload python documentation to freedesktop.orgZbigniew Jędrzejewski-Szmek
2013-02-28build-sys: make sphinx support uncoditionalZbigniew Jędrzejewski-Szmek
It needs to be invoked explicitly, so there's no need to check explicitly.
2013-02-27systemd-activate: add a socket-activation test toolZbigniew Jędrzejewski-Szmek
2013-02-27build-sys: fix update-man-rules for vpath buildsZbigniew Jędrzejewski-Szmek
2013-02-27build-sys: tell Makefile.am to distribute kernel-installZbigniew Jędrzejewski-Szmek
2013-02-27unit: rework resource management APILennart Poettering
This introduces a new static list of known attributes and their special semantics. This means that cgroup attribute values can now be automatically translated from user to kernel notation for command line set settings, too. This also adds proper support for multi-line attributes.
2013-02-25kernel-install: add kernel-install toolHarald Hoyer
2013-02-24build: remove explicit -shared in LDFLAGSDave Reisner
This doesn't need to be passed, as it's handled by libtool. Since the default for autoconf is --disable-static, this change is effectively a noop. It only matters if you pass --enable-static, in which case the static libs for systemd libraries will actually be built. Nitpicky, but this only affects systemd libs. The override for the other libs remains since these libs are always loaded dynamically and never compiled staticly.
2013-02-22build-sys: move systemd-analyze to /usr/binKay Sievers
2013-02-22systemd-python: add Journal class for reading journalSteven Hiscocks
2013-02-22python: build html docs using sphinxZbigniew Jędrzejewski-Szmek
Build instructions: make make DESTIDIR=/tmp/... install make DESTIDIR=/tmp/... sphinx-html sphinx-man sphinx-epub ...
2013-02-22python: add systemd.id128 moduleZbigniew Jędrzejewski-Szmek
uuid.UUIDs are utilized to hold UUID values.
2013-02-14honor SELinux labels, when creating and writing config filesHarald Hoyer
Also split out some fileio functions to fileio.c and provide a SELinux aware pendant in fileio-label.c see https://bugzilla.redhat.com/show_bug.cgi?id=881577
2013-02-13systemd-analyze: rewrite in C.Simon Peeters
Written by Peeters Simon <peeters.simon@gmail.com>. Makefile stuff and cleaned up a bit by Auke Kok <auke-jan.h.kok@intel.com>. Some code inspired by Marc-Antoine Perennou <Marc-Antoine@Perennou.com>.
2013-02-13build-sys: make EFI support build-time optionalLennart Poettering
2013-02-13build-sys: make PolicyKit support compile-time optional (was ↵Lennart Poettering
runtime-optional already)
2013-02-13build-sys: fix build without -Wl,--gc-sectionsZbigniew Jędrzejewski-Szmek
bootctl needs libsystemd-daemon.la too.
2013-02-11bootctl: add boot loader and firmware interface toolKay Sievers
2013-02-11env: considerably beef up environment cleaning logicLennart Poettering
Now, actually check if the environment variable names and values used are valid, before accepting them. With this in place are at some places more rigid than POSIX, and less rigid at others. For example, this code allows lower-case environment variables (which POSIX suggests not to use), but it will not allow non-UTF8 variable values. All in all this should be a good middle ground of what to allow and what not to allow as environment variables. (This also splits out all environment related calls into env-util.[ch])
2013-02-10tests: add tests of strxcpyxThomas Hindoe Paaboel Andersen
also fix a bad indentation in test-strbug.c
2013-02-09shutdown: issue a sync() as soon as shutdown.target is queuedLennart Poettering
2013-02-09tests: add test of strbufThomas Hindoe Paaboel Andersen
2013-02-08build-sys: link libudev against the internal sd-daemon lib, not the source fileKay Sievers
2013-02-07build-sys: fix build without -Wl,--gc-sectionsZbigniew Jędrzejewski-Szmek
In 8d81eb8e the new library was added for libudev, use it for libsystemd-journal too.
2013-02-07udev: remove HWDB_BINKay Sievers
2013-02-07build-sys: at least for now, never link libudev against systemd's shared ↵Kay Sievers
libraries
2013-02-07build-sys: add libsystemd-id128 as libudev dependencyDavid Strauss
After d848b9cbfa0 'Move generic specifier functions to shared' libudev depends (through) libsystemd-shared.la on libsystemd-id128.so. The problem only appears when the linker does not support --gc-sections and manifests itself as the inability to resolve sd_id128_get_machine and other libsystemd-id128 functions, which aren't really used.
2013-02-07build-sys: restore man/index.html as link to systemd.index.htmlZbigniew Jędrzejewski-Szmek
It got lost in the transformation to XML generation.
2013-02-07man: describe unit load path in systemd.unit(5)Zbigniew Jędrzejewski-Szmek
In other cases where multiple directories are searched for unit files, the list of directories is described in the man page describing the format. I think this makes sense too in case of systemd directories, since the systemd(1) manpage already has an overview of many different topics.
2013-02-06build-sys: substitute strings in systemd.unit(5)Zbigniew Jędrzejewski-Szmek
Makefile.am is updated to deal with .xml.in sources. Nothing in the output is really changed yet, this is just preparation.
2013-02-06build-sys: create Makefile-man.am automaticallyZbigniew Jędrzejewski-Szmek
man rules were repeating the same information in too many places, which was error prone. Those rules can be easily generated from .xml files. For efficiency and because python is not a required dependency, Makefile-man.am is only regenerated when requested with make update-man-list If no metadata in man/*.xml changed, this file should not change. So only when a new man page or a new alias is added, this file should show up in 'git diff'. The change should then be committed. If the support for building from git without python was dropped, we could drop Makefile-man.am from version control. This would also increase the partial build time (since more stuff would be rebuild whenever sources in man/*.xml would be modified), so it would probably wouldn't be worth it.
2013-02-06build-sys: split man alias rules into separate fileZbigniew Jędrzejewski-Szmek
There shouldn't be any functional change. This is an 'automake include', so the generated Makefile is the same (apart from ordering).
2013-02-06build-sys: replace one last mkdir hook with list itemZbigniew Jędrzejewski-Szmek
Previously, errors would be ignored. Now they are not. But I don't see how we could fail to create the directory, so I don't think that it matters.
2013-02-06test: add a few tests and tidy upThomas Hindoe Paaboel Andersen
adds test of: strv_find strv_find_prefix strv_overlap strv_sort streq_ptr first_word Splits tests of util.c into own file to avoid clutter as we add more. Removed a few prints and uses _cleanup_free_ to make the tests more focused.
2013-01-30build-sys: fix empty linesKay Sievers
2013-01-30build-sys: move HAVE_MICROHTTPD HAVE_MYHOSTNAME to their own sectionsKay Sievers
2013-01-30build-sys: move most of HAVE_KMOD into one sectionKay Sievers
2013-01-30build-sys: add intermediate files to CLEANFILES to fix distcheckKay Sievers
2013-01-29build-sys: add rules for sd_journal_{get,set}_data_threshold(3)Zbigniew Jędrzejewski-Szmek
Fixup for 350b6a65.
2013-01-29build-sys: inline two definitions which were only used in one placeZbigniew Jędrzejewski-Szmek
2013-01-29build-sys: keep intermediate filesZbigniew Jędrzejewski-Szmek
Sometimes it is useful to look at them, and they don't take up any significant amount of space. Keeping them also avoids the message about files being removed at the end of make run.
2013-01-29tests: add test for unit name printingZbigniew Jędrzejewski-Szmek
2013-01-29install: allow specifiers in WantedBy/RequiredBy/AliasZbigniew Jędrzejewski-Szmek
This allows one templated unit to refer to another templated unit at installation time. Examples: > grep WantedBy ~/.config/systemd/user/mpop@.timer WantedBy=services@%i.target > srv disable mpop@iit.timer rm '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' > srv enable mpop@iit.timer ln -s '/home/alxchk/.config/systemd/user/mpop@.timer' '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer' Based-on-patch-by: Oleksii Shevchuk <alxchk@gmail.com>
2013-01-28keymap: Add HP HDX 9494NRMartin Pitt
Add touchpad and www keys. https://bugzilla.redhat.com/show_bug.cgi?id=757928