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:
5a10d93
)
dracut: install /lib* for kernel images
author
Harald Hoyer
<harald@redhat.com>
Mon, 25 Jul 2011 12:28:40 +0000
(14:28 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 25 Jul 2011 12:28:40 +0000
(14:28 +0200)
dracut
patch
|
blob
|
history
diff --git
a/dracut
b/dracut
index 079d5be649316c95cc824d798d4b55f5ce99377f..aa8cb58b2391b41a4f527966c967e3446ce329a4 100755
(executable)
--- a/
dracut
+++ b/
dracut
@@
-503,6
+503,15
@@
if [[ $kernel_only != yes ]]; then
ln -sfn /run "$initdir/var/run"
ln -sfn /run/lock "$initdir/var/lock"
+else
+ for d in lib "$libdir"; do
+ [[ -e "${initdir}${prefix}/$d" ]] && continue
+ if [ -h "/$d" ]; then
+ inst "/$d" "${prefix}/$d"
+ else
+ mkdir -m 0755 -p "${initdir}${prefix}/$d"
+ fi
+ done
fi
# check all our modules to see if they should be sourced.