fix dependency loop in systemd service files
This commit is contained in:
parent
77c7b4d5b9
commit
ef36c3ac45
@ -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]
|
||||
|
@ -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@redhat.com> - 015-9.git20120210
|
||||
- fix dependency loop in systemd service files
|
||||
|
||||
* Fri Feb 10 2012 Harald Hoyer <harald@redhat.com> 015-8.git20120210
|
||||
- update to latest git
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user