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] enable-fsck: Adjust to latest debianize changes
Date: Thu, 2 May 2024 11:27:18 +0200	[thread overview]
Message-ID: <1d95174e-838d-480d-ae4d-f59be2da2a7d@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 and give it a
version.

Fixes: 39adde9f456b ("debianize: handle .triggers and .service files")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 .../enable-fsck/{enable-fsck.bb => enable-fsck_0.2.bb}       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-support/enable-fsck/{enable-fsck.bb => enable-fsck_0.2.bb} (81%)

diff --git a/meta/recipes-support/enable-fsck/enable-fsck.bb b/meta/recipes-support/enable-fsck/enable-fsck_0.2.bb
similarity index 81%
rename from meta/recipes-support/enable-fsck/enable-fsck.bb
rename to meta/recipes-support/enable-fsck/enable-fsck_0.2.bb
index 0413f79d..2d0ec950 100644
--- a/meta/recipes-support/enable-fsck/enable-fsck.bb
+++ b/meta/recipes-support/enable-fsck/enable-fsck_0.2.bb
@@ -16,10 +16,9 @@ SRC_URI = " \
     file://enable-fsck.sh \
     file://postinst"
 
-do_install() {
-    install -d -m 755 ${D}/lib/systemd/system
-    install -m 644 ${WORKDIR}/enable-fsck.service ${D}/lib/systemd/system/
+DPKG_ARCH = "all"
 
+do_install() {
     install -d -m 755 ${D}/usr/share/enable-fsck
     install -m 755 ${WORKDIR}/enable-fsck.sh ${D}/usr/share/enable-fsck/
 }
-- 
2.35.3

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02  9:27 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=1d95174e-838d-480d-ae4d-f59be2da2a7d@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