[Buildroot] [PATCH 1/1] systemd: bumped to version 206

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Sep 15 18:15:15 UTC 2013


Dear Eric Le Bihan,

On Sun, 08 Sep 2013 13:30:46 +0200, Eric Le Bihan wrote:

> I posted an update of the systemd package. See '[PATCH 1/1] package:
> udev is now provided by systemd or eudev.' In this version, I added
> libgcrypt has a hard dependency for building Systemd. So it builds in
> any case but it forces journal signature.
> 
> So, for AM_PATH_LIBGCRYPT to be found, you must have libgcrypt among
> SYSTEMD_DEPENDENCIES, but I'd better have journal signature optional,
> with something like:
> 
> ifeq ($(BR2_PACKAGE_SYSTEMD_SIGN_JOURNAL),y)
> 	SYSTEMD_CONF_OPT += --enable-libgcrypt
> else
> 	SYSTEMD_CONF_OPT += --disable-libcgrypt
> endif
> 
> Is there a way in Buildroot to have a library built for the target and
> installed into 'staging', but not installed on the target (apart for
> pruning the files in post-build.sh)?

No, that's not possible in a clean way.

In this situation, I believe the best option is:

 (1) As a temporary measure, take the src/libgcrypt.m4 file from the
 libgcrypt sources, and create a patch that adds it to the m4/
 directory of systemd sources. This way, regardless of whether
 libgcrypt is available or not, the AM_PATH_LIBGCRYPT m4 macro will be
 available for autoreconf to use.

 (2) As a permanent measure, upstream the other systemd patches so that
 ultimately we can get rid of the SYSTEMD_AUTORECONF = YES.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list