Create directories for symlinked libraries if needed
Sometimes symlinks for libraries reside in weird places. Create those weird places if necessary. -- dracut-functions | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)master
parent
9f88fcd94b
commit
7bcacaaa5f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue