Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] systemd: bump to 236, convert to meson
Date: Wed, 17 Jan 2018 00:03:40 +0100	[thread overview]
Message-ID: <20180117000340.73c98753@windsurf> (raw)
In-Reply-To: <20180101130944.12583-1-Adamduskett@outlook.com>

Hello,

On Mon,  1 Jan 2018 08:09:44 -0500, Adam Duskett wrote:
> systemd is no longer an autotools package, as such, it has now been converted
> over to meson.
> 
> Even though systemd234 has meson support, it is broken with gcc7, as such
> the revision bump and conversion to meson must be in a single patch.
> 
> Changes include:
>   - Change systemd from an autotools package to a generic package
>   - Changing all the options from --enable/disable to -Doption=true/false
>   - Remove --without-python (no longer an option)
>   - Remove all of the ac_cv_path_ variables, and move them into CONF_OPTS
>     with the prefix -Doption-path=/path.
>   - Add sha256sum's for the license files.
>   - Remove 0002-build-check-for-ln-relative.patch and add
>     0002-install-dont-use-ln-relative.patch in its place, the old patch relied on autotools and is no longer relevant.
>   - Add 0004-add-false-option-for-tests.patch. With the conversion to meson,
>     systemd no longer has the option to disable unit tests from being built.
>     This patch re-adds the functionality. This prevents 381 files from being
>     built, and prevents gcrypt from becoming a dependency.
> 
> Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
> ---
> Changes v1 -> v2:
>   - Added 0002-install-dont-use-ln-relative.patch to allow older systems to
>     build. (Yann)
>   - Added 0004-add-false-option-for-tests.patch to turn off building tests.
>   - Added default paths for telinit, kill, kmod, kexec, sulogin, mount, 
>     and umount. (Yann)
>   - Added --libdir='/usr/lib' and -Drootlibdir='/usr/lib' to SYSTEMD_CONF_OPTS
>     to prevent systemd from placing the libraries into the incorrect target
>     directories. (Yann)
>   - Removed -Drootprefix='/' and -Dsplit-user=true as the default settings where
>     correct.
>   - Removed "SYSTEMD_CFLAGS = $(TARGET_CFLAGS) -fno-lto" as it no longer
>     applies.
>   - Added -j$(PARALLEL_JOBS) to SYSTEMD_NINJA_OPTS (Yann)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      parent reply	other threads:[~2018-01-16 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-01 13:09 [Buildroot] [PATCH v2 1/1] systemd: bump to 236, convert to meson Adam Duskett
2018-01-01 13:12 ` Adam Duskett
2018-01-08 13:46 ` Jérémy Rosen
2018-01-09 20:26 ` Yann E. MORIN
2018-01-16 23:03 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180117000340.73c98753@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox