From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 01/13] new recipe : host-systemd
Date: Sat, 7 Dec 2019 19:53:10 +0100 [thread overview]
Message-ID: <20191207185310.GO2539@scaer> (raw)
In-Reply-To: <20191207180049.3245578-2-jeremy.rosen@smile.fr>
J?r?my, All,
On 2019-12-07 19:00 +0100, J?r?my Rosen spake thusly:
> Add the infrastructure to build the host version of systemd
> * disable all optional features, they can be re-added when needed
> * systemd has creative way of dealing with cross compile
> we build a "normal" host systemd, but install it in $HOST_DIR
> we use systemctl --root to correctly act on TARGET_DIR
> * we need to adjust RPATH using patchelf because meson can't do it
> correctly by itsel
>
> Signed-off-by: J?r?my Rosen <jeremy.rosen@smile.fr>
> ---
[--SNIP--]
> +HOST_SYSTEMD_HOST_TOOLS = \
> + systemd-analyze systemd-mount systemctl udevadm
udevadm was not in your previous iteration, but now it is.
This means that, when BR2_PACKAGE_SYSTEMD_HWDB=y, we now have two host
packages that provide udevadm: host-systemd and host-eudev.
We can't keep both.
So, I would change BR2_PACKAGE_SYSTEMD_HWDB to drop the select to host
eudev now; we don't need it anymore. If systemd is enabled, then
host-systemd will always be built, so we will always have a udevadm.
Regards,
Yann E. MORIN.
> +define HOST_SYSTEMD_FIX_RPATH
> + $(foreach f,$(HOST_SYSTEMD_HOST_TOOLS), \
> + $(HOST_DIR)/bin/patchelf --set-rpath $(HOST_DIR)/lib:$(HOST_DIR)/lib/systemd $(HOST_DIR)/bin/$(f)
> + )
> +endef
> +
> +HOST_SYSTEMD_POST_INSTALL_HOOKS += HOST_SYSTEMD_FIX_RPATH
> +HOST_SYSTEMD_NINJA_ENV = DESTDIR=$(HOST_DIR)
> +
> +$(eval $(host-meson-package))
> --
> 2.24.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2019-12-07 18:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-07 18:00 [Buildroot] [PATCH v3 00/13] use host-systemd to enable units Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 01/13] new recipe : host-systemd Jérémy Rosen
2019-12-07 18:53 ` Yann E. MORIN [this message]
2019-12-08 22:16 ` Jérémy ROSEN
2019-12-07 18:00 ` [Buildroot] [PATCH v3 02/13] use host-systemctl preset all to enable units Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 03/13] fix tty handling Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 04/13] fix trivial packages with buildroot-provided services Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 05/13] fix trivial cases, upstream-provided services Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 06/13] package/connman: adapt to preset-all Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 07/13] package/linuxptp " Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 08/13] package/network-manager: " Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 09/13] package/wpa_supplicant: adapt for preset-all Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 10/13] package/sysrepo: update to new systemd Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 11/13] package/syslog-ng: implement default using DefaultInstance Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 12/13] package/rauc: add a WantedBy section to the unit Jérémy Rosen
2019-12-07 18:00 ` [Buildroot] [PATCH v3 13/13] package/alsa-utils: " Jérémy Rosen
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=20191207185310.GO2539@scaer \
--to=yann.morin.1998@free.fr \
--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