2012-05-09 13:14:33 +00:00
|
|
|
From f2d887d7d5ccb315d840192af825eba92764d9f9 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
|
|
Date: Wed, 9 May 2012 13:13:19 +0200
|
|
|
|
Subject: [PATCH] dracut.sh: install var/run and var/lock
|
|
|
|
|
|
|
|
---
|
|
|
|
dracut.sh | 2 +-
|
2012-05-22 09:49:50 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2012-05-09 13:14:33 +00:00
|
|
|
|
|
|
|
diff --git a/dracut.sh b/dracut.sh
|
|
|
|
index 1048e75..2a7a812 100755
|
|
|
|
--- a/dracut.sh
|
|
|
|
+++ b/dracut.sh
|
|
|
|
@@ -655,7 +655,7 @@ if [[ $prefix ]]; then
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [[ $kernel_only != yes ]]; then
|
|
|
|
- for d in usr/bin usr/sbin bin etc lib "$libdir" sbin tmp usr var var/log; do
|
|
|
|
+ for d in usr/bin usr/sbin bin etc lib "$libdir" sbin tmp usr var var/log var/run var/lock; do
|
|
|
|
[[ -e "${initdir}${prefix}/$d" ]] && continue
|
|
|
|
if [ -L "/$d" ]; then
|
|
|
|
inst_symlink "/$d" "${prefix}/$d"
|