dracut: cp with sparse

master
Harald Hoyer 2011-09-02 09:01:47 +02:00
parent dffb93feaf
commit 59f288ce63
2 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@ inst_simple() {
inst "${_src%/*}/.${_src##*/}.hmac" "${target%/*}/.${target##*/}.hmac" inst "${_src%/*}/.${_src##*/}.hmac" "${target%/*}/.${target##*/}.hmac"
fi fi
ddebug "Installing $_src" ddebug "Installing $_src"
cp -pfL "$_src" "${initdir}$target" cp --sparse=always -pfL "$_src" "${initdir}$target"
} }


# find symlinks linked to given library file # find symlinks linked to given library file