From ef36c3ac45f65ecce80150c25a05543c6bd7d1ed Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Feb 12 2012 19:30:51 +0000 Subject: fix dependency loop in systemd service files --- 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 - 015-9.git20120210 +- fix dependency loop in systemd service files + * Fri Feb 10 2012 Harald Hoyer 015-8.git20120210 - update to latest git