[dracut/f17] fix dependency loop in systemd service files

Kay Sievers kay at fedoraproject.org
Sun Feb 12 19:33:04 UTC 2012


commit ef36c3ac45f65ecce80150c25a05543c6bd7d1ed
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Sun Feb 12 20:30:51 2012 +0100

    fix dependency loop in systemd service files

 ...restore-run-initramfs-via-systemd-service.patch |    5 ++++-
 dracut.spec                                        |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/0007-Backup-and-restore-run-initramfs-via-systemd-service.patch b/0007-Backup-and-restore-run-initramfs-via-systemd-service.patch
index 5892264..f281d79 100644
--- a/0007-Backup-and-restore-run-initramfs-via-systemd-service.patch
+++ b/0007-Backup-and-restore-run-initramfs-via-systemd-service.patch
@@ -4,6 +4,8 @@ Date: Fri, 10 Feb 2012 09:37:18 +0100
 Subject: [PATCH] Backup and restore /run/initramfs via systemd services
 
 This saves the space /run/initramfs is taking for the shutdown
+
+[Raw patch edited by kay, this is not the git version]
 ---
  Makefile                   |   16 ++++++++++++++--
  dracut-backup.service      |   15 +++++++++++++++
@@ -65,7 +67,7 @@ new file mode 100644
 index 0000000..69110eb
 --- /dev/null
 +++ b/dracut-backup.service
-@@ -0,0 +1,15 @@
+@@ -0,0 +1,16 @@
 +#  This file is part of systemd.
 +#
 +#  systemd is free software; you can redistribute it and/or modify it
@@ -75,6 +77,7 @@ index 0000000..69110eb
 +
 +[Unit]
 +Description=Save /run/initramfs
++DefaultDependencies=no
 +ConditionPathExists=/run/initramfs
 +
 +[Service]
diff --git a/dracut.spec b/dracut.spec
index ae0b88a..fd59124 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -10,7 +10,7 @@
 
 Name: dracut
 Version: 015
-Release: 8.git20120210%{?dist}
+Release: 9.git20120210%{?dist}
 
 Summary: Initramfs generator using udev
 %if 0%{?fedora} || 0%{?rhel} > 6
@@ -325,6 +325,9 @@ rm -rf $RPM_BUILD_ROOT
 %dir /var/lib/dracut/overlay
 
 %changelog
+* Sun Feb 12 2012 Kay Sievers <kay at redhat.com> - 015-9.git20120210
+- fix dependency loop in systemd service files
+
 * Fri Feb 10 2012 Harald Hoyer <harald at redhat.com> 015-8.git20120210
 - update to latest git
 


More information about the scm-commits mailing list