summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2015-06-10Merge pull request #152 from zonque/buildsysLennart Poettering
build-sys: make man/systemd.directives.xml depend on man/custom-entit…
2015-06-10Merge pull request #151 from mischief/dns-shared-3Lennart Poettering
move dns code from resolve to shared v3
2015-06-10build-sys: make man/systemd.directives.xml depend on man/custom-entities.entDaniel Mack
Currently, the following command sequence fails: make distclean ./autogen.sh c make distcheck That's because the command invoked to build man/systemd.directives.xml needs man/custom-entities.ent to function, which itself isn't a dependency. The $(filter-out $<,$^) logic used to filter out everything from the prerequisites except for the first word, which doesn't work anymore now. Use $(SOURCE_XML_FILES) instead.
2015-06-10Include tools/compile-unifont.py in the source tarballMike Gilbert
This prevents a build failure when /usr/share/fonts/unifont/unifont.hex is newer than unifont-glyph-array.bin.
2015-06-10resolve: move dns routines into sharedNick Owens
2015-06-09build-sys: always dist *.policy.in filesMartin Pitt
Unconditionally dist org.freedesktop.{import1,machine1}.policy.in, like all the other *.policy.in files. This avoids missing policy files in the tarball. Spotted by "make distcheck" failure with --disable-importd.
2015-06-03build-sys: disable gc-sections if optimization is disabledKay Sievers
This way, development builds will not rely on gc-sections to paper over cyclic link dependencies. Newly introduced broken link requirements will immediatley fail.
2015-06-03build-sys: split off libsystemd-machine convenience libKay Sievers
Break the link order cycle by splitting off the machine parts which use sd-bus but live in shared/.
2015-06-03build-sys: merge libsystemd-label convenience libKay Sievers
Stop to pretend that we can split selinux related code from other. We have too many cross-references and it breaks all the time and I am no longer willing to maintain that mess for no real benefit. We currently have cyclic dependencies which are only resolved on machines with gc-sections toolchains. We need a simpler and at the same time more strict model to manage our convenienc libraries and linking. The first thing to give up is the "optimization" of not linking libselinux for a very few tools. If that is an issue, please fix the mess that libselinux creates in selinux itself, and do not ask consumers to work around it.
2015-06-03build-sys: disable gc-sections for distcheckKay Sievers
We cannot rely on gc-sections to fix dependency cycles in our linking setup. Disable it for distcheck to let it fail and find these bugs earlier.
2015-06-03build-sys: remove left-over gtk-docKay Sievers
2015-06-03remove gudev and gtk-docKay Sievers
The library moved to: https://git.gnome.org/browse/libgudev/
2015-05-30tests: add test-conf-parserRonny Chevalier
2015-05-30Revert "Makefile: make custom-entities.ent depend on Makefile.am"Daniel Mack
This reverts commit 6096d9cc. As discussed on the mailing list, we should accept some formal incorrectness in the dependency here, and not rebuild the man pages every time Makefile.am changes - xsltproc is simply too expensive. Instead, let's move man/custom-entities.ent from DISTCLEANFILES to CLEANFILES, so a 'make clean' is sufficient to actually make changes in Makefile.am efficient for the contents of the man pages.
2015-05-29util: split out signal-util.[ch] from util.[ch]Lennart Poettering
No functional changes.
2015-05-29build-sys: pass originally configured --enable-split-usr to distcheckMartin Pitt
Previously we always ran distcheck with --disable-split-usr. This caused test-path-util to fail with Assertion 'fsck_exists("minix") == 0' failed at ../src/test/test-path-util.c:224, function test_fsck_exists(). Aborting. as looking up fsck.minix would only look into DEFAULT_PATH_NORMAL, but on these systems fsck is in /sbin/.
2015-05-29build-sys: fix typoKarel Zak
There is nothing like systemd_verify_* in Makefile.am. The bug has been invisible because automake uses the default CFLAGS when component CFLAGS are undefined.
2015-05-29build-sys: Stop depending on current configure options for EXTRA_DISTMartin Pitt
Consistently move EXTRA_DIST out of conditional blocks. This would have produced incomplete dist tarballs when being run in a built tree with not every feature enabled, which can cause broken dist tarballs.
2015-05-29Makefile: make custom-entities.ent depend on Makefile.amDaniel Mack
When Makefile.am is modified, make sure custom-entities.ent is rebuilt. After all, $(substitutions) is defined there, so changes of that variable must be reflected in the resulting file.
2015-05-28systemctl: drop hardcoded chkconfig invocationMartin Pitt
Introduce /usr/lib/systemd/systemd-sysv-install [--root=] <action> <name> abstraction, replacing the direct calling of chkconfig. This allows distributions to call their specific tools like update-rc.d without patching systemd. Ship systemd-sysv-install.SKELETON as an example for packagers how to implement this. Drop the --enable-chkconfig configure option. Document this in README and point to it in NEWS.
2015-05-28man: use configured path for mount and umount binaries in manpagesFilipe Brandenburger
Export the MOUNT_PATH and UMOUNT_PATH variables as XML entities and use them in the systemctl.1 manpage instead of hardcoding the path in /usr/bin. Tested: - Ran ./configure ac_cv_path_MOUNT_PATH=/bin/mount (same for umount) and rebuilt the manpages, confirmed that the correct path was in man/systemctl.1 - Rebuilt man/systemd.directives.xml and the man pages derived from it, confirmed that the correct paths were there as well.
2015-05-26build-sys: ship fsck mock in tarballMartin Pitt
Useful for downstream integration test cases.
2015-05-25build-sys: fix headers installationMarc-Antoine Perennou
2015-05-25build-sys: don't dist generated filesMarc-Antoine Perennou
[tomegun: fix Makefile.am:5675: warning: nodist_systemd_resolved_SOURCES multiply defined in condition ENABLE_RESOLVED]
2015-05-25build-sys: always include src/boot/efi in tarballsMarc-Antoine Perennou
currently it would only be included if configure was ran with --enable-gnuefi
2015-05-24shared: generator - correct path to systemd-fsckMike Gilbert
In generated systemd-fsck-root.service. This would break if rootprefix is not /usr/lib/systemd. [tomegun: flesh out commit message]
2015-05-22sd-bus,sd-event: make public APIsLennart Poettering
With the v221 release these APIs should be public, stable APIs, hence let's install their headers by default now, and add their symbols to the .sym file.
2015-05-21build-sys: fix build with seperate builddirLennart Poettering
Let's make sure we can build rpms with this
2015-05-21build-sys: bump library and package versionsLennart Poettering
2015-05-18util: split all hostname related calls into hostname-util.cLennart Poettering
2015-05-18buildsys: actually install 70-pointingstick.hwdbMantas Mikulėnas
2015-05-16buildsys: Remove X_SERVER from AM_CPPFLAGSCristian Rodríguez
It is a leftover from multi-seat-x wrapper which is long gone.
2015-05-15units: make networkd pull in its own .busname unitTom Gundersen
The daemon requires the busname unit to operate (on kdbus systems), since it contains the policy that allows it to acquire its service name. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=90287
2015-05-15systemctl: introduce --now for enable, disable and maskJan Synacek
https://bugs.freedesktop.org/show_bug.cgi?id=42940
2015-05-13Default to /usr/bin/u?mount, configurable, rather than hard-coded /bin/u?mount.Dimitri John Ledkov
2015-05-09buildsys: *_la_CPPFLAGS takes $(AM_CPPFLAGS) not $(AM_CFLAGS)Cristian Rodríguez
2015-05-05lockfile-util.[ch]: Split out from util.[ch]Colin Walters
Continuing the general trend of splitting up util.[ch]. I specifically want to reuse this code in https://github.com/GNOME/libglnx and having it split up will make future copy-pasting easier.
2015-04-29test: rename test-bus-kernel-benchmark to test-bus-benchmarkTom Gundersen
This can now benchmark more than just kdbus.
2015-04-28fsck: remove fsckd again, but keep the door open for external replacementLennart Poettering
For a longer discussion see this: http://lists.freedesktop.org/archives/systemd-devel/2015-April/030175.html This introduces /run/systemd/fsck.progress as a simply AF_UNIX/SOCK_STREAM socket. If it exists and is connectable we'll connect fsck's -c switch with it. If external programs want to get progress data they should hence listen on this socket and will get all they need via that socket. To get information about the connecting fsck client they should use SO_PEERCRED. Unless /run/systemd/fsck.progress is around and connectable this change reverts back to v219 behaviour where we'd forward fsck output to /dev/console on our own.
2015-04-24shutdownd: kill the old implementationDaniel Mack
Not that all functionality has been ported over to logind, the old implementation can be removed. There goes one of the oldest parts of the systemd code base.
2015-04-24logind: add code for UTMP wall messagesDaniel Mack
Add a timer to print UTMP wall messages so that it repeatedly informs users about a scheduled shutdown: * every 1 minute with less than 10 minutes to go * every 15 minutes with less than 60 minutes to go * every 30 minutes with less than 180 minutes (3 hours) to go * every 60 minutes if more than that to go This functionality only active if the .EnableWallMessages DBus property is set to true. Also, a custom string can be added to the wall message, set through the WallMessagePrefix property.
2015-04-23journal: use audit event names instead of numbersZbigniew Jędrzejewski-Szmek
<audit-1400> is replaced by AVC, etc. A fallback mechanism is provided for unlisted event types. Occasionally new types are added to the kernel, but not too often. Add a simple "test", which simply prints the mapping.
2015-04-23journal: add int↔audit type name mappingZbigniew Jędrzejewski-Szmek
2015-04-22build-sys: adjust link-order for non-gc-sections buildKay Sievers
2015-04-22build-sys: minor simplificationLennart Poettering
2015-04-21build-sys: move systemd.pc from pkgconfiglibdir back into pkgconfigdatadirLennart Poettering
The original idea of systemd.pc was to contain arch-independent system and systemd information. By exposing libdir as part of the fields (added in eb39a6239c631873db62f6a942e6cb3dab0a2db4), it started to carry arch-dependent data, thus breaking multilib systems. It was then moved to pkgconfiglibdir to deal with this (in aec432c6134146e138124c4130be2ee89dca07fa), but actually the right approach is to simply not include libdir in the .pc file at all. THis patch hence more or less reverts both commits again, and moves the .pc file back into pkgconfigdatadir. As alternative for querying the systems primary libdir there's now "systemd-path system-library-arch", hence a more correct alternative exists for querying this variable from the .pc file.
2015-04-21build-sys: add missing fileKay Sievers
2015-04-21delete unused LICENSE.MITKay Sievers
2015-04-21tmpfiles: make /home and /var btrfs subvolumes by default when booted up ↵Lennart Poettering
with them missing This way the root subvolume can be left read-only easily, and variable and user data writable with explicit quota set.
2015-04-16libudev: make libudev-enumerate a thin wrapper around sd-deviceTom Gundersen