From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>,
Cedric Hombourger <Cedric_Hombourger@mentor.com>
Cc: "Moessbauer, Felix (T CED SES-DE)" <felix.moessbauer@siemens.com>
Subject: Re: [PATCH] sshd-regen-keys: Adjust to latest debianize changes
Date: Thu, 2 May 2024 12:00:11 +0200 [thread overview]
Message-ID: <c7a510ca-e521-4457-af9f-3cb026b3a500@siemens.com> (raw)
In-Reply-To: <aa9baf96-98d8-41fb-9297-9d9b20d1520e@siemens.com>
On 02.05.24 11:27, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> The debianize class installs systemd services automatically now. Doing
> it manually as well breaks on sid at least.
>
> Furthermore, mark this arch-agnostic package as such.
>
> Fixes: 39adde9f456b ("debianize: handle .triggers and .service files")
BTW, this highlights that the original patch was changing the recipe API
without documenting that. Will you send an update for
RECIPES-API-CHANGELOG.md, Cedric?
Jan
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> .../{sshd-regen-keys_0.4.bb => sshd-regen-keys_0.5.bb} | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
> rename meta/recipes-support/sshd-regen-keys/{sshd-regen-keys_0.4.bb => sshd-regen-keys_0.5.bb} (61%)
>
> diff --git a/meta/recipes-support/sshd-regen-keys/sshd-regen-keys_0.4.bb b/meta/recipes-support/sshd-regen-keys/sshd-regen-keys_0.5.bb
> similarity index 61%
> rename from meta/recipes-support/sshd-regen-keys/sshd-regen-keys_0.4.bb
> rename to meta/recipes-support/sshd-regen-keys/sshd-regen-keys_0.5.bb
> index 9ce1d8d8..55d67f6e 100644
> --- a/meta/recipes-support/sshd-regen-keys/sshd-regen-keys_0.4.bb
> +++ b/meta/recipes-support/sshd-regen-keys/sshd-regen-keys_0.5.bb
> @@ -5,10 +5,7 @@ DESCRIPTION = "Systemd service to regenerate sshd keys"
> MAINTAINER = "isar-users <isar-users@googlegroups.com>"
> DEBIAN_DEPENDS = "openssh-server, systemd"
>
> +DPKG_ARCH = "all"
> +
> SRC_URI = "file://postinst \
> file://sshd-regen-keys.service"
> -
> -do_install() {
> - install -d -m 0755 "${D}/lib/systemd/system"
> - install -m 0644 "${WORKDIR}/sshd-regen-keys.service" "${D}/lib/systemd/system/sshd-regen-keys.service"
> -}
--
Siemens AG, Technology
Linux Expert Center
next prev parent reply other threads:[~2024-05-02 10:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-02 9:27 Jan Kiszka
2024-05-02 10:00 ` Jan Kiszka [this message]
2024-05-10 5:45 ` Uladzimir Bely
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=c7a510ca-e521-4457-af9f-3cb026b3a500@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=Cedric_Hombourger@mentor.com \
--cc=felix.moessbauer@siemens.com \
--cc=isar-users@googlegroups.com \
/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