All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/systemd: add repart support
Date: Sun, 08 Mar 2020 11:25:00 +0200	[thread overview]
Message-ID: <8736ajxkpf.fsf@tarshish> (raw)
In-Reply-To: <20200308091640.65742-1-james.hilliard1@gmail.com>

Hi James,

On Sun, Mar 08 2020, James Hilliard wrote:
> systemd-repart grows and adds partitions to a partition table, based on
> the configuration files described in repart.d.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>  package/systemd/Config.in  | 9 +++++++++
>  package/systemd/systemd.mk | 8 +++++++-
>  2 files changed, 16 insertions(+), 1 deletion(-)
>
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index c727082a1a..64d30f32aa 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -153,6 +153,15 @@ config BR2_PACKAGE_SYSTEMD_BINFMT
>  
>  	  http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html
>  
> +config BR2_PACKAGE_SYSTEMD_REPART
> +	bool "enable repart support"
> +	select BR2_PACKAGE_OPENSSL

The systemd meson.build indicates that util-linux libfdisk is also
required for repart.

baruch

> +	help
> +	  systemd-repart grows and adds partitions to a partition table,
> +	  based on the configuration files described in repart.d.
> +
> +	  https://www.freedesktop.org/software/systemd/man/systemd-repart.html
> +
>  config BR2_PACKAGE_SYSTEMD_COREDUMP
>  	bool "enable coredump hook"
>  	help
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 1c3b81cfcb..d05541a2f6 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -41,7 +41,6 @@ SYSTEMD_CONF_OPTS += \
>  	-Dumount-path=/usr/bin/umount \
>  	-Dnobody-group=nogroup \
>  	-Didn=true \
> -	-Drepart=false \
>  	-Duserdb=false \
>  	-Dhomed=false \
>  	-Dnss-systemd=true
> @@ -305,6 +304,13 @@ else
>  SYSTEMD_CONF_OPTS += -Dlocaled=false
>  endif
>  
> +ifeq ($(BR2_PACKAGE_SYSTEMD_REPART),y)
> +SYSTEMD_CONF_OPTS += -Drepart=true
> +SYSTEMD_DEPENDENCIES += openssl
> +else
> +SYSTEMD_CONF_OPTS += -Drepart=false
> +endif
> +
>  ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y)
>  SYSTEMD_CONF_OPTS += -Dcoredump=true
>  SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * /var/lib/systemd/coredump - - Core Dumper


-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

  reply	other threads:[~2020-03-08  9:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-08  9:16 [Buildroot] [PATCH 1/1] package/systemd: add repart support James Hilliard
2020-03-08  9:25 ` Baruch Siach [this message]
2020-03-08  9:36   ` James Hilliard
2020-03-08 14:17 ` Thomas Petazzoni

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=8736ajxkpf.fsf@tarshish \
    --to=baruch@tkos.co.il \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.