dracut/0047-dracut.sh-install-var-run-and-var-lock.patch

23 lines
792 B
Diff
Raw Normal View History

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 +-
1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
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"