Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] systemd: add option to enable systemd-journal-remote
Date: Thu, 13 Jun 2019 17:35:49 +0200	[thread overview]
Message-ID: <20190613153549.GJ2647@scaer> (raw)
In-Reply-To: <CAJPHfYNGkrW8MWGQyaWgehg_wAQ=3eoNWVZHEh=DyhbebJhJTA@mail.gmail.com>

Yi, All,

Thanks for this new iteration. :-)

I still have a few comments, see below.

On 2019-06-13 11:05 +0800, Yi Zheng spake thusly:
>     systemd-journal-remote was added in systemd v211, so add a new option
>     to enable or disable it.
> 
>     Signed-off-by: Yi Zheng <goodmenzy@gmail.com>

These lines should not be indented; I did indent them in my previous
reply just to make them stand out. "git send-email" would not have
indented those lines, if you had been able to use it (alas, you had
to use the gmail web UI to pass through the GFW).

We have other people from RPC, that seem to manage sending patches that
are correctly formatted. I wonder how they manage...

> ---
>  package/systemd/Config.in  | 15 +++++++++++++++
>  package/systemd/systemd.mk |  4 ++++
>  2 files changed, 19 insertions(+)
> 
> diff --git a/package/systemd/Config.in b/package/systemd/Config.in
> index 92ffc7cc5a..3ec529b214 100644
> --- a/package/systemd/Config.in
> +++ b/package/systemd/Config.in
> @@ -122,6 +122,21 @@ config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
> 
>           http://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html
> 
> +config BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE
> +       bool "enable systemd-journal-remote"
> +       default n
> +       depends on BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY
> +       select BR2_PACKAGE_LIBCURL
> +       help

Because you did not send this with git send-mail, the TAB indentation
has been replaced by spaces.

> +         systemd-journal-remote is a command to receive serialized
> +         journal events and store them to journal files. Input
> +         streams are in the Journal Export Format[1], i.e. like the
> +         output from journalctl --output=export. For transport over
> +         the network, this serialized stream is usually carried over
> +         an HTTPS connection.
> +
> +         https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html
> +
>  config BR2_PACKAGE_SYSTEMD_BACKLIGHT
>         bool "enable backlight support"
>         help
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index edc4a9ecc1..b7e36d9eb9 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -178,6 +178,10 @@ else
>  SYSTEMD_CONF_OPTS += -Dmicrohttpd=false -Dqrencode=false
>  endif
> 
> +ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y)
> +SYSTEMD_CONF_OPTS += -Dremote=true
> +endif

You seemed to have missed in my previous review, that we also want an
explicit disable when the option is not set; see for example how it is
done for BR2_PACKAGE_SYSTEMD_HWDB.

Regards,
Yann E. MORIN.

> +
>  ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
>  SYSTEMD_DEPENDENCIES += libselinux
>  SYSTEMD_CONF_OPTS += -Dselinux=true
> --
> 2.22.0

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2019-06-13 15:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13  3:05 [Buildroot] [PATCH] systemd: add option to enable systemd-journal-remote Yi Zheng
2019-06-13 15:35 ` Yann E. MORIN [this message]
2019-06-17 19:40 ` Thomas Petazzoni
2019-06-18  7:05   ` Yi Zheng
2019-11-27 20:46 ` Thomas Petazzoni
2019-11-28  8:08   ` Jérémy ROSEN
2019-11-28  8:27     ` Thomas Petazzoni
2019-11-28 15:15       ` Jérémy ROSEN
2019-11-28  9:33     ` Yi Zheng
2020-10-13 15:16 ` Michael Nosthoff
2020-10-13 15:35   ` Thomas Petazzoni
2020-10-13 15:40     ` Michael Nosthoff
2020-10-13 15:49       ` Thomas Petazzoni
2020-10-13 16:28         ` Yann E. MORIN
2020-10-13 17:03           ` Yann E. MORIN

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=20190613153549.GJ2647@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