diff options
author | Harald Hoyer <harald@redhat.com> | 2009-09-30 15:34:12 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-09-30 15:34:12 +0200 |
commit | f6d1cb89dedd19721a00aa573a2eb86ed6b2ce11 (patch) | |
tree | 1fbf8c93b6f9f73a14f462cf73f9bbf92d036b06 /dracut-functions | |
parent | 0e0031dc610b8aea40e94ca8f53cfa9e30e68e1c (diff) |
dracut-functions: inst_simple() with cp -p to preserver timestamps, etc.
Diffstat (limited to 'dracut-functions')
-rwxr-xr-x | dracut-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut-functions b/dracut-functions index 1f2d1e6..ddfe26c 100755 --- a/dracut-functions +++ b/dracut-functions @@ -172,7 +172,7 @@ inst_simple() { [[ -f ${initdir}$target ]] && return 0 inst_dir "${target%/*}" dinfo "Installing $src" - cp -fL "$src" "${initdir}$target" + cp -pfL "$src" "${initdir}$target" } # Same as above, but specialzed to handle dynamic libraries. |