projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51153fb
)
dracut-shutdown.service: do not unpack old initramfs on shutdown
author
Harald Hoyer
<harald@redhat.com>
Thu, 31 May 2012 07:56:24 +0000
(09:56 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 31 May 2012 08:09:50 +0000
(10:09 +0200)
Do not unpack the initramfs, if the old initramfs still exists.
dracut-shutdown.service
patch
|
blob
|
history
diff --git
a/dracut-shutdown.service
b/dracut-shutdown.service
index
4f06e35
..
6756355
100644
(file)
--- a/
dracut-shutdown.service
+++ b/
dracut-shutdown.service
@@
-11,6
+11,7
@@
After=getty@tty1.service prefdm.service
Before=reboot.service
DefaultDependencies=no
ConditionPathExists=/run/initramfs/.need_shutdown
+ConditionPathExists=!/run/initramfs/bin/sh
[Service]
ExecStart=/usr/lib/dracut/dracut-initramfs-restore