* [PATCH v3 0/1] image-postproc: ignore systemd preset failures
@ 2026-02-19 4:44 'Badrikesh Prusty' via isar-users
2026-02-19 4:44 ` [PATCH v3 1/1] " 'Badrikesh Prusty' via isar-users
0 siblings, 1 reply; 2+ messages in thread
From: 'Badrikesh Prusty' via isar-users @ 2026-02-19 4:44 UTC (permalink / raw)
To: isar-users; +Cc: gokhan.cetin, alexander.heinisch, Badrikesh Prusty
changes in v3:
* Do not disable pre-population of enabled systemd services during build,
as this is the correct default behavior. Downstream layers can disable
it if needed.
* Ignore failures from systemd preset only.
changes in v2:
* Disable populate-systemd-preset at build time by default due to service
failures observed on some systems.
Badrikesh Prusty (1):
image-postproc: ignore systemd preset failures
meta/classes-recipe/rootfs.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.39.5
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260219044406.441933-1-badrikesh.prusty%40siemens.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v3 1/1] image-postproc: ignore systemd preset failures
2026-02-19 4:44 [PATCH v3 0/1] image-postproc: ignore systemd preset failures 'Badrikesh Prusty' via isar-users
@ 2026-02-19 4:44 ` 'Badrikesh Prusty' via isar-users
0 siblings, 0 replies; 2+ messages in thread
From: 'Badrikesh Prusty' via isar-users @ 2026-02-19 4:44 UTC (permalink / raw)
To: isar-users; +Cc: gokhan.cetin, alexander.heinisch, Badrikesh Prusty
Add '|| true' to systemd preset invocation during image postprocessing
to tolerate failures caused by already-masked units.
Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com>
---
meta/classes-recipe/rootfs.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/rootfs.bbclass
index 8485b32f..ef3ddb84 100644
--- a/meta/classes-recipe/rootfs.bbclass
+++ b/meta/classes-recipe/rootfs.bbclass
@@ -574,7 +574,7 @@ image_postprocess_populate_systemd_preset() {
--show systemd || echo "" )
if (test "$SYSTEMD_INSTALLED" = "installed"); then
- sudo chroot '${ROOTFSDIR}' systemctl preset-all --preset-mode="enable-only"
+ sudo chroot '${ROOTFSDIR}' systemctl preset-all --preset-mode="enable-only" || true
fi
}
--
2.39.5
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260219044406.441933-2-badrikesh.prusty%40siemens.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-19 4:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-19 4:44 [PATCH v3 0/1] image-postproc: ignore systemd preset failures 'Badrikesh Prusty' via isar-users
2026-02-19 4:44 ` [PATCH v3 1/1] " 'Badrikesh Prusty' via isar-users
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox