forked from pool/systemd
f728a2485a
- Add root-fsck.patch: do not run fsck on / if it is rw - Ship a non null localfs.service, fixes static mount points not being mounted properly. - Update to version 33: * optimizations and bugfixes. * New PrivateNetwork= service setting which allows you to shut off networking for a specific service (i.e. all routable network interfaces will disappear for that service). * Merged insserv-parsing.patch and bash-completion-restart.patch patches. OBS-URL: https://build.opensuse.org/request/show/77911 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=49
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
|
|
|