1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00
Commit Graph

12908 Commits

Author SHA1 Message Date
Umut Tezduyar Lindskog
6aad7f2cd7 build: Allow disabling maintainer mode
This allows make rules for generated build files (i.e.  configure,
Makefile.in, ... ) to be skipped.  This is useful when
the source is stored without timestamps (for example in CVS or GIT).

When the build rules trigger to regenerate the build files, it tries to
use the same autotools version (currently 1.14) as was originally used
for the release.  Since many of our build machines run Debian Squeeze,
they only have autotools 1.11 available and the build fails.

Currently, we have to work around this by touching all the generated
files before building to avoid triggering the make rule. With this
patch, we would be able to just run configure with
--disable-maintainer-mode instead.  The patch sets the default to enable
to not change the default behavior.

Ref: http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/
     ?id=f5cc26c77d2f332a9b40f51f0ec72e95711edf1e
2013-11-14 00:09:45 +10:00
Kay Sievers
b26618399e udev: declare some symbols static 2013-11-13 03:34:24 +01:00
Kay Sievers
64a9e4d763 libsystemd-id128: statically include sd_listen_fds() 2013-11-13 02:47:25 +01:00
Zbigniew Jędrzejewski-Szmek
9173a3082f build-sys: parallelize 'exported' target 2013-11-12 19:02:28 -05:00
Zbigniew Jędrzejewski-Szmek
a23873387a systemd-python: fix booted() and add two functions to docs
For some reason sphinx doesn't want to show inherited C functions.
2013-11-12 19:01:50 -05:00
Zbigniew Jędrzejewski-Szmek
dc579853d4 build-sys: make public libraries depend on .sym files
This way modyfing the .sym file causes a rebuild.
2013-11-12 19:00:23 -05:00
Zbigniew Jędrzejewski-Szmek
f1e0c18340 build-sys: add a link test for exported symbols
I know that this is a pretty big net to catch some small fish,
but we *do* regularly forget to properly export symbols that
were supposed to be exported.

This time sd_bus_get_current and some renamed symbols are caught.
2013-11-12 18:58:34 -05:00
Tom Gundersen
2b70d172a7 build-sys: make networkd man pages conditional 2013-11-12 22:44:18 +01:00
Colin Walters
3c9317d2d9 build-sys: Add --disable-networkd option
For GNOME (Continuous), we are unlikely to require or want
systemd-networkd in the near term future; all of the tools and code
are targeting NetworkManager.

The long term story is still an open question of course, but for now,
there's no reason for gnome-continuous to build or ship this.
2013-11-12 22:38:08 +01:00
Kristian Høgsberg
735e5d83ee uaccess: Add new DRM render nodes 2013-11-12 18:11:43 +01:00
Kay Sievers
e3dc56a219 udev: declare some symbols static 2013-11-12 18:09:08 +01:00
Kay Sievers
d311601f5b bus: test-bus-objects - add missing header 2013-11-12 15:49:36 +01:00
Lennart Poettering
3db0e46b0d bus: add missing dump.[ch] 2013-11-12 12:11:24 +01:00
Lennart Poettering
2b5c5383e4 bus: beautify bus_message_dump() output a bit 2013-11-12 00:12:44 +01:00
Lennart Poettering
7b0b392f7b busctl: show machine name of all registered names 2013-11-12 00:12:44 +01:00
Lennart Poettering
8d162091c0 bus: set no_auto_start flag for GetMachineId calls, so that we don't auto-start if we want to know the machine of a bus service 2013-11-12 00:12:44 +01:00
Lennart Poettering
a8a07f892c bus: detect blocking message calls to our own connection and return ELOOP early 2013-11-12 00:12:44 +01:00
Lennart Poettering
1fee9de509 bus: add api to control auto start message flag 2013-11-12 00:12:44 +01:00
Lennart Poettering
9b271c0316 id128: introduce SD_ID128_STRING_MAX consant for sizing id128 strings 2013-11-12 00:12:44 +01:00
Lennart Poettering
98f91566cc bus: export utf8 validator calls as pure functions 2013-11-12 00:12:44 +01:00
Lennart Poettering
76b543756e bus: introduce concept of a default bus for each thread and make use of it everywhere
We want to emphasize bus connections as per-thread communication
primitives, hence introduce a concept of a per-thread default bus, and
make use of it everywhere.
2013-11-12 00:12:43 +01:00
Lennart Poettering
afc6adb5ec bus: introduce concept of a "default" event loop per-thread and make use of it everywhere
Try to emphasize a bit that there should be a mapping between event
loops and threads, hence introduce a logic that there's one "default"
event loop for each thread, that can be queried via
"sd_event_default()".
2013-11-12 00:12:43 +01:00
Lennart Poettering
d5e4ec5b1e test: fix minor memory leak in test-event 2013-11-12 00:12:43 +01:00
Lennart Poettering
c49b30a235 bus: rename sd_bus_send_with_reply_and_block() to sd_bus_call()
The call is one of the most important ones we expose, where we place
major emphasis on. We should make sure to give it a short, memorable
name.
2013-11-12 00:12:43 +01:00
Kay Sievers
1823b86ebf systemctl: warning: ‘r’ may be used uninitialized in this function 2013-11-11 17:18:51 +01:00
Dave Reisner
d181115929 shell: add list-timers to systemctl completions 2013-11-11 11:04:06 -05:00
Zbigniew Jędrzejewski-Szmek
ad83b4c47c systemctl: avoid unitialized access when showing 0 timers 2013-11-11 10:55:51 -05:00
Lennart Poettering
938bcbab12 bus: add APIs for adding iovecs to messages as string or arrays 2013-11-11 16:26:12 +01:00
Lennart Poettering
cbb76c29cc systemctl: add new "list-timers" command 2013-11-11 15:54:43 +01:00
Lennart Poettering
966204e010 timer: consider (usec_t) -1 an invalid timestamp 2013-11-11 15:54:42 +01:00
Lennart Poettering
1fcf71f562 timer: properly format relative timestamps in the future 2013-11-11 15:54:42 +01:00
Dave Reisner
2b51bd3c9b udev.xml: add missing </para> tag 2013-11-11 09:17:08 -05:00
Dave Reisner
22925e1a25 udev.xml: minor fixes to network link configuration
- Refer to net_setup_link, not net-setup-link
- Mention the required file extension earlier
2013-11-10 20:04:29 -05:00
Lennart Poettering
60411ac750 bus: we really need to get rid of the :no-sender hack
This is where a hack from PID 1 spilled into the client side. We need
to get rid of this as soon as PID 1 is converted to libsystemd-bus.
2013-11-10 23:54:55 +01:00
Lennart Poettering
369c583b3f bus: actually export sd_utf8_is_valid() and sd_ascii_is_valid() 2013-11-10 23:54:55 +01:00
Lennart Poettering
f959af205a bus: use ENXIO as error condition when trying to exit a container when we are not in any
So far we used ENXIO whenever the user tried to read something from a
function that didn't carry the right type, and hence use the same error
here to indicate that what the user expected and what was in the message
didn't match up.
2013-11-10 23:54:55 +01:00
Lennart Poettering
d23284faa9 build-sys: subtract list of exported symbols from "check-api-unused" list 2013-11-10 23:54:55 +01:00
Thomas Hindoe Paaboel Andersen
c2e0d600ed analyze: plot the time spent setting up security modules 2013-11-10 23:21:15 +01:00
Lennart Poettering
95056b27a0 button: don't exit if we cannot handle a button press 2013-11-10 23:05:32 +01:00
Tom Gundersen
46b0925d4f man: networkd - add documentation 2013-11-10 21:30:18 +01:00
Tom Gundersen
1f06807cc3 man: udev - add documentation for .link files 2013-11-10 21:27:25 +01:00
Zbigniew Jędrzejewski-Szmek
2bba9a57e7 bus: fix build with old glibc 2013-11-09 20:31:12 -05:00
Zbigniew Jędrzejewski-Szmek
0a9776c230 systemctl: make sure daemon-reload returns success
Also change sd_bus_message_exit_container to return -ENOENT
when not in a container, to make it easier to distinguish different
errors.
2013-11-09 19:41:00 -05:00
Tom Gundersen
7c99d940c1 network: fix tests
One of the tests were assuming the network configuration dirs exist. We
can't do that, so disable it for now.
2013-11-10 01:26:49 +01:00
Zbigniew Jędrzejewski-Szmek
852c1b4d29 systemctl: fix printing of individual properties 2013-11-09 19:02:53 -05:00
Zbigniew Jędrzejewski-Szmek
39da205fbb build-sys: simplify defined/undefined definition 2013-11-09 19:02:53 -05:00
Zbigniew Jędrzejewski-Szmek
a94042fa9b systemd: fix memory leak in cgroup code
If the unit already was in the hashmap, path would be leaked.
2013-11-09 19:02:53 -05:00
Zbigniew Jędrzejewski-Szmek
9cb74bcb23 man,units: fix installation of systemd-nspawn@.service and add example 2013-11-09 19:02:53 -05:00
William Giokas
c0fd7cbd7a zsh-completion: Move machine listing to autoload
Instead of having two different listings of machines, use an autoloaded
function that can be used by other shell completions in the future. It
will also allow editing a single file to change the way machinectl and
systemd-run completion for machines.
2013-11-09 19:02:53 -05:00
William Giokas
a02c5fe7cb zsh-completion: Move output modes to autoload 2013-11-09 19:02:53 -05:00