From 5b27c7d8f5a74fe8b21cc3b59cac3878b11ee6b3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 30 Jan 2024 14:58:13 +0100 Subject: [disk-partitions] Don't wait for udev if we have disks from stage 3 When running the new dracut-init approach, we already loaded all the disk controller modules and scanned the buses. No need to wait for udev settle etc. in stage 4 again. For the old (unused) stage3.1 + stage3.2 approach, add a service droplet that keeps the old order. --- .../disk-partitions/data/etc/systemd/system/setup-partitions.service | 1 - 1 file changed, 1 deletion(-) (limited to 'core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service') diff --git a/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service b/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service index 0c8a0dd4..a196db3f 100644 --- a/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service +++ b/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service @@ -1,6 +1,5 @@ [Unit] Description=Setup local disk partitions (persistent, swap) -After=systemd-udev-settle.service systemd-udevd.service Wants=tmp.target persistent.target Before=persistent.target DefaultDependencies=no -- cgit v1.2.3-55-g7522