Re: [systemd-devel] Placing systemd unit files on a non-root partition

2017-11-08 Thread Henrik Grindal Bakken
I consider service unit files perfectly capable of describing > such things. You could simply use a generator to create symlinks in /run/systemd/generator/foo.target.wants to the files in /mountpoint/lib/systemd/system. That, or mirror /mountpoint/lib/systemd/system into /run/systemd/generator. -

[systemd-devel] [PATCH] architecture: Add tilegx

2014-02-27 Thread Henrik Grindal Bakken
Add Tilera's TILE-GX processor family support. --- src/shared/architecture.c | 3 +++ src/shared/architecture.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/shared/architecture.c b/src/shared/architecture.c index ceba492..eae82dc 100644 --- a/src/shared/architecture.c +++ b/src/shar

Re: [systemd-devel] Cross-building systemd?

2013-10-07 Thread Henrik Grindal Bakken
=gcc LIBATTR=no PAM_CAP=no DESTDIR= prefix= install We also set quite a few variables (CROSS_COMPILE, LD, AR, CFLAGS, whatever) in our build system, so you might need some of those. They are all set in a pretty standard way. We build libcap from the latest in git (056ffb0bd2). -- Henrik Grinda

[systemd-devel] [PATCH v4] buildsys: Add --disable-tests to avoid building tests

2013-04-18 Thread Henrik Grindal Bakken
This patch adds --disable-tests to configure. It is based on a patch posted by Thierry Reding in 2010. The motivation for adding it is that some tests fail link-time when cross-compiling. The patch adds a new Makefile variable -- manual_tests -- and uses that instead of noinst_PROGRAMS. However

Re: [systemd-devel] [PATCH v3] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
Zbigniew Jędrzejewski-Szmek writes: > On Wed, Apr 17, 2013 at 07:36:47PM +0200, Henrik Grindal Bakken wrote: >> This patch adds --disable-tests to configure. It is based on a patch >> posted by Thierry Reding in 2010. The motivation for adding it is that >> some tests fail

Re: [systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
od enough. I'll try. -- Henrik Grindal Bakken PGP ID: 8D436E52 Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] [PATCH v3] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
This patch adds --disable-tests to configure. It is based on a patch posted by Thierry Reding in 2010. The motivation for adding it is that some tests fail link-time when cross-compiling. The patch adds a new Makefile variable -- noinst_test_programs -- and uses that instead of noinst_PROGRAMS.

Re: [systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
Lennart Poettering writes: > On Wed, 17.04.13 18:48, Henrik Grindal Bakken (h...@ifi.uio.no) wrote: > >> @@ -125,8 +125,13 @@ dist_dbussystemservice_DATA = >> check_PROGRAMS = >> check_DATA = >> noinst_tests= >> +if ENABLE_TESTS >> noinst_PROGRAMS =

Re: [systemd-devel] [PATCH] bus: Use memalign() if aligned_alloc() isn't available

2013-04-17 Thread Henrik Grindal Bakken
Kay Sievers writes: > On Wed, Apr 17, 2013 at 5:49 PM, Henrik Grindal Bakken > wrote: >> Use and _GNU_SOURCE to determine if _ISOC11_SOURCE is >> available, and with that, aligned_alloc(). > > Can't you just define the missing function in missing.h to the one

Re: [systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
gt; noinst_tests otoh is for tests that run during "make check". They are > your classic unit tests... So the first attempt at --disable-tests, then, if any... -- Henrik Grindal Bakken PGP ID: 8D436E52 Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52 __

[systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
This patch adds --disable-tests to configure. It is based on a patch posted by Thierry Reding in 2010. The motivation for adding it is that some tests fail link-time when cross-compiling. --- Makefile.am | 21 +++-- configure.ac |5 + 2 files changed, 16 insertions(+),

Re: [systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
Henrik Grindal Bakken writes: > This patch adds --disable-tests to configure. It is based on a patch > posted by Thierry Reding in 2010. The motivation for adding it is that > some tests fail link-time when cross-compiling. This is the alternative approach. I'm not sure what t

Re: [systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
Kay Sievers writes: > On Wed, Apr 17, 2013 at 5:49 PM, Henrik Grindal Bakken > wrote: >> This patch adds --disable-tests to configure. It is based on a patch >> posted by Thierry Reding in 2010. The motivation for adding it is >> that some tests fail link-time when cr

Re: [systemd-devel] [PATCH] core: Remove unnecessary typedef

2013-04-17 Thread Henrik Grindal Bakken
Kay Sievers writes: > On Wed, Apr 17, 2013 at 6:08 PM, Henrik Grindal Bakken > wrote: >> ExecContext isn't used in this header file, and everything seems to >> build just fine without this typedef. The typedef doesn't really belong >> here, and at least m

[systemd-devel] [PATCH 2/2] bus: Include missing.h to get redefinition of aligned_access if necessary

2013-04-17 Thread Henrik Grindal Bakken
--- src/libsystemd-bus/bus-kernel.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index 086877e..c144f69 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsystemd-bus/bus-kernel.c @@ -26,6 +26,7 @@ #include #in

[systemd-devel] [PATCH 1/2] missing: Redefine aligned_alloc() to memalign() if we don't have C11

2013-04-17 Thread Henrik Grindal Bakken
--- src/shared/missing.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/shared/missing.h b/src/shared/missing.h index d4ba0d3..7f49a6d 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -23,6 +23,11 @@ /* Missing glibc definitions to access certain kernel API

[systemd-devel] [PATCH] core: Remove unnecessary typedef

2013-04-17 Thread Henrik Grindal Bakken
ExecContext isn't used in this header file, and everything seems to build just fine without this typedef. The typedef doesn't really belong here, and at least my gcc-4.4.6 gives an error on type redefined. --- src/core/namespace.h |2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/n

[systemd-devel] [PATCH] bus: Use memalign() if aligned_alloc() isn't available

2013-04-17 Thread Henrik Grindal Bakken
Use and _GNU_SOURCE to determine if _ISOC11_SOURCE is available, and with that, aligned_alloc(). --- src/libsystemd-bus/bus-kernel.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index 0

[systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Henrik Grindal Bakken
This patch adds --disable-tests to configure. It is based on a patch posted by Thierry Reding in 2010. The motivation for adding it is that some tests fail link-time when cross-compiling. --- Makefile.am | 13 + configure.ac |5 + 2 files changed, 18 insertions(+) diff --

Re: [systemd-devel] [ANNOUNCE] systemd v196

2012-11-23 Thread Henrik Grindal Bakken
ng 196 just fine on a 3.0 vendor kernel, so it's not a universal problem. I also use getty on the serial port, with no local modifications. I believe the requirement for a 3.4 (or something) kernel came in 188 for some logging bits, although I'm not sure. systemd should work just fine

Re: [systemd-devel] WISHLIST: systemd git-like CLI/ui/command interface

2012-11-23 Thread Henrik Grindal Bakken
'sc'? -- Henrik Grindal Bakken PGP ID: 8D436E52 Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Significant speedup of systemd boot time with CONFIG_HZ=1000

2012-11-09 Thread Henrik Grindal Bakken
related. Unfortunately, our vendor kernel apparently doesn't support CONFIG_PREEMPT yet, so we might have a problem. Or not, of course, since HZ=1000 appears to do the trick. > (cf. http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, which > has further suggestions for how you m

Re: [systemd-devel] Significant speedup of systemd boot time with CONFIG_HZ=1000

2012-11-07 Thread Henrik Grindal Bakken
"Kok, Auke-jan H" writes: > On Mon, Nov 5, 2012 at 7:19 AM, Henrik Grindal Bakken wrote: >> >> The kernel boot time seems pretty long there, but that's partly due to >> a fairly long (intentional) delay in initramfs. > > You'll get a much fuller pi

[systemd-devel] Significant speedup of systemd boot time with CONFIG_HZ=1000

2012-11-05 Thread Henrik Grindal Bakken
e? Kernel version is 3.0. btw. -- Henrik Grindal Bakken PGP ID: 8D436E52 Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel