Frederic Crozat
95c3fe1f27
- Ship a non null localfs.service, fixes static mount points not being mounted properly. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=171
26 lines
772 B
Diff
26 lines
772 B
Diff
From 687d70cc43b34eb2359598d0ca0b69e996aa1b38 Mon Sep 17 00:00:00 2001
|
|
From: Frederic Crozat <fcrozat@suse.com>
|
|
Date: Wed, 3 Aug 2011 16:46:52 +0200
|
|
Subject: [PATCH] units: detect SUSE initrd and do not run fsck on /.
|
|
|
|
---
|
|
units/fsck-root.service.in | 2 ++
|
|
1 files changed, 2 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/units/fsck-root.service.in b/units/fsck-root.service.in
|
|
index 7b3529d..2f8c8f5 100644
|
|
--- a/units/fsck-root.service.in
|
|
+++ b/units/fsck-root.service.in
|
|
@@ -13,6 +13,8 @@ Before=local-fs.target shutdown.target
|
|
|
|
# Dracut informs us with this flag file if the root fsck was already run
|
|
ConditionPathExists=!/run/initramfs/root-fsck
|
|
+# Detect SUSE initrd too
|
|
+ConditionPathExists=!/dev/shm/initrd_exports.sh
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
--
|
|
1.7.3.4
|
|
|