Harald Hoyer
b6f0c419e3
test-functions: search for the initrd and kernel according to the BLS
...
Also search for the initrd and kernel according to the boot loader
specification.
2015-02-03 10:51:29 +01:00
Harald Hoyer
edbced8a15
test-functions: use sfdisk without cyl,head,sectors
...
newer sfdisk implementations do not work with these anymore
2015-02-03 10:47:06 +01:00
Harald Hoyer
99877b7e37
test-functions:install_libnss() call dracut_install with all $NSS_LIBS
...
dracut_install() can cope with more than one file
2015-02-03 10:46:57 +01:00
Martin Pitt
7d023341c7
tests: install ldconfig.real for Debian based distros
...
In Debian based distributions ldconfig is just a shell wrapper around
ldconfig.real, for deferring it during package installation.
2015-02-03 09:50:45 +01:00
Martin Pitt
c50a4525aa
tests: install hostname debug tool
...
This is mostly a vehicle to pull in libnsl.so which gets dlopen()ed by NSS
under certain NSS configurations.
2015-02-03 09:50:45 +01:00
Martin Pitt
cffae62bcb
tests: install all required libnss modules
...
Don't assume "files" for everything in nsswitch. Instead, ask "getent passwd"
about which libnss modules it dlopen()s, and install these.
2015-02-03 09:50:45 +01:00
Martin Pitt
53d90f9582
tests: don't hardcode systemctl path
...
Get it from type -P instead, to support --enable-split-usr.
2015-02-03 09:50:45 +01:00
Martin Pitt
3486cb6cfa
tests: determine rootlibdir from pkg-config
...
Prefer asking pkg-config for the rootlibdir, to also support systems with
--enable-split-usr. Fall back to the hardcoded /usr/lib/systemd if that fails.
2015-02-03 09:50:45 +01:00
Martin Pitt
4be4833ece
tests: Make sushell optional in image creation
...
sushell does not exist in all distributions, and it can be changed with
configure --with-debug-shell, so make installation of it optional.
2015-02-03 09:50:45 +01:00
Zbigniew Jędrzejewski-Szmek
36c957959d
build-sys: distribute systemd-networkd.socket
2015-02-02 22:59:22 -05:00
Zbigniew Jędrzejewski-Szmek
6cb8e687f0
network-address,test-network: avoid undefined behaviour
2015-02-02 21:34:35 -05:00
Zbigniew Jędrzejewski-Szmek
c1d630d5fd
shared/async: simplify asynchronous_job a bit
2015-02-02 20:31:18 -05:00
Zbigniew Jędrzejewski-Szmek
374c22b351
test-dhcp-client: add a kludge to make valgrind happy
2015-02-02 20:31:18 -05:00
Zbigniew Jędrzejewski-Szmek
fe0885f8ce
test-dhcp-client: open a real udp socket for test execution
...
./test-dhcp-client would attempt to operate fd 0, i.e. stdin.
For example, './test-dhcp-client </dev/null' would fail with EPERM
because /dev/null cannot be used with epoll.
https://bugzilla.redhat.com/show_bug.cgi?id=1076119
2015-02-02 20:31:18 -05:00
Lennart Poettering
e0ec895093
update TODO
2015-02-03 02:07:59 +01:00
Lennart Poettering
63c372cb9d
util: rework strappenda(), and rename it strjoina()
...
After all it is now much more like strjoin() than strappend(). At the
same time, add support for NULL sentinels, even if they are normally not
necessary.
2015-02-03 02:05:59 +01:00
Lennart Poettering
44de0efc6e
networkd: minor simplification
...
Let's return the fd we found as return value in systemd_netlink_fd(),
instead of using call-by-reference.
2015-02-02 23:27:33 +01:00
Thomas Hindoe Paaboel Andersen
fed6df828d
remove unused variables
2015-02-02 22:58:06 +01:00
Lennart Poettering
73cb775495
update TODO
2015-02-02 21:54:23 +01:00
Lennart Poettering
75f709fbf2
units: so far we defaulted to 90s as default timeout for most things, let's do so for our oneshot services too
...
Fewer surprises, and stuff...
2015-02-02 21:34:32 +01:00
Lennart Poettering
7a7d5db71f
tmpfiles: let's always use DEFINE_PRIVATE_STRING_TABLE_LOOKUP_TO_STRING() instead of defining our own string tables
2015-02-02 21:34:09 +01:00
Lennart Poettering
babc21fdc0
time-util: let's make xstrftime() useful for everybody, even if we only have a single user so far.
2015-02-02 21:28:33 +01:00
Lennart Poettering
b7ce6b592d
macro: document that DECIMAL_STR_MAX contains space for the trailing NUL byte
2015-02-02 21:28:19 +01:00
Sebastien Bacher
6e1bf7ab99
bootchart: Ensure that systemd is the init called after using bootchart
...
When booting with systemd-bootchart, default to call the systemd binary
rather than the init binary on disk, which might be another init system.
Collecting data only works with booting systemd.
2015-02-02 17:40:35 +01:00
Topi Miettinen
bca81be775
backlight: let udev properties override clamping
...
On my computer, the minimum brightness enforced by clamping in
backlight is too bright.
Let udev property ID_BACKLIGHT_CLAMP control whether the brightness
is clamped or not.
2015-02-02 17:18:40 +01:00