From 00a140c2e85758e5aed6b76fc95b69181520c4e8 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Mon, 7 Apr 2025 03:08:19 +0200 Subject: [PATCH] initcpio ensure the gpt image dissection works --- mkosi.extra/usr/lib/initcpio/install/systemd-extension | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mkosi.extra/usr/lib/initcpio/install/systemd-extension b/mkosi.extra/usr/lib/initcpio/install/systemd-extension index 0244f87..1c757a4 100644 --- a/mkosi.extra/usr/lib/initcpio/install/systemd-extension +++ b/mkosi.extra/usr/lib/initcpio/install/systemd-extension @@ -16,4 +16,9 @@ build() { systemd-volatile-root.service \ kde-linux-overlay.service \ systemd-bootchart.service + + # Make double sure the dissection rule is present. Without it booting doesn't work because we can't find a root. + # Notably not getting added by the release initcpio combined with aur systemd-git at the time of writing. + map add_udev_rule \ + 90-image-dissect.rules }