public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] enable-fsck: Adjust to latest debianize changes
@ 2024-05-02  9:27 Jan Kiszka
  2024-05-10  5:45 ` Uladzimir Bely
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2024-05-02  9:27 UTC (permalink / raw)
  To: isar-users; +Cc: Moessbauer, Felix (T CED SES-DE), Cedric Hombourger

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-10  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02  9:27 [PATCH] enable-fsck: Adjust to latest debianize changes Jan Kiszka
2024-05-10  5:45 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox