public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Cc: "Moessbauer, Felix (T CED SES-DE)" <felix.moessbauer@siemens.com>,
	Cedric Hombourger <Cedric_Hombourger@mentor.com>
Subject: [PATCH] sshd-regen-keys: Adjust to latest debianize changes
Date: Thu, 2 May 2024 11:27:16 +0200	[thread overview]
Message-ID: <aa9baf96-98d8-41fb-9297-9d9b20d1520e@siemens.com> (raw)

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")
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"
-}
-- 
2.35.3

             reply	other threads:[~2024-05-02  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02  9:27 Jan Kiszka [this message]
2024-05-02 10:00 ` Jan Kiszka
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=aa9baf96-98d8-41fb-9297-9d9b20d1520e@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