Blame 0047-dracut.sh-install-var-run-and-var-lock.patch
|
Harald Hoyer |
802052 |
From f2d887d7d5ccb315d840192af825eba92764d9f9 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
802052 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
802052 |
Date: Wed, 9 May 2012 13:13:19 +0200
|
|
Harald Hoyer |
802052 |
Subject: [PATCH] dracut.sh: install var/run and var/lock
|
|
Harald Hoyer |
802052 |
|
|
Harald Hoyer |
802052 |
---
|
|
Harald Hoyer |
802052 |
dracut.sh | 2 +-
|
|
Harald Hoyer |
802052 |
1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
|
|
Harald Hoyer |
802052 |
|
|
Harald Hoyer |
802052 |
diff --git a/dracut.sh b/dracut.sh
|
|
Harald Hoyer |
802052 |
index 1048e75..2a7a812 100755
|
|
Harald Hoyer |
802052 |
--- a/dracut.sh
|
|
Harald Hoyer |
802052 |
+++ b/dracut.sh
|
|
Harald Hoyer |
802052 |
@@ -655,7 +655,7 @@ if [[ $prefix ]]; then
|
|
Harald Hoyer |
802052 |
fi
|
|
Harald Hoyer |
802052 |
|
|
Harald Hoyer |
802052 |
if [[ $kernel_only != yes ]]; then
|
|
Harald Hoyer |
802052 |
- for d in usr/bin usr/sbin bin etc lib "$libdir" sbin tmp usr var var/log; do
|
|
Harald Hoyer |
802052 |
+ for d in usr/bin usr/sbin bin etc lib "$libdir" sbin tmp usr var var/log var/run var/lock; do
|
|
Harald Hoyer |
802052 |
[[ -e "${initdir}${prefix}/$d" ]] && continue
|
|
Harald Hoyer |
802052 |
if [ -L "/$d" ]; then
|
|
Harald Hoyer |
802052 |
inst_symlink "/$d" "${prefix}/$d"
|