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:
9f88fcd
)
Create directories for symlinked libraries if needed
author
Seewer Philippe
<philippe.seewer-omB+W0Dpw2o@public.gmane.org>
Fri, 27 Feb 2009 14:45:53 +0000
(15:45 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 4 Mar 2009 16:10:51 +0000
(17:10 +0100)
Sometimes symlinks for libraries reside in weird places. Create those
weird places if necessary.
--
dracut-functions | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
dracut-functions
patch
|
blob
|
history
diff --git
a/dracut-functions
b/dracut-functions
index
f9a600d
..
50e4588
100755
(executable)
--- a/
dracut-functions
+++ b/
dracut-functions
@@
-45,6
+45,7
@@
inst_library() {
reallib="$(readlink -f "$src")"
lib=${src##*/}
inst_simple "$reallib" "$reallib"
+ mkdir -p ${initdir}${dest%/*}
(cd "${initdir}${dest%/*}" && ln -s "$reallib" "$lib")
else
inst_simple "$src" "$dest"