]> git.proxmox.com Git - zfsonlinux.git/commit
buildsys: ensure that all sources are copied over to the build directory
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Oct 2019 13:42:40 +0000 (15:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Oct 2019 13:47:04 +0000 (15:47 +0200)
commit7c8450b4b1e2cc33c2732272881f525ce5ef1022
tree0c85ac0883afe0af81f5d3c611a5dd5b97b42e3c
parent34f271eaf0d5fd5dba2b0f45ff2a3161385b3d3d
buildsys: ensure that all sources are copied over to the build directory

The copy command:
 # cp -a ${ZFSSRC}/* ${ZFSDIR}/
did not copied over hidden files (those beginning with a dot) and
thus a upstream patches which changed also .gitignore did not worked
when copied over 1:1, instead of removing the changes to .gitignore
it's IMO better to copy the full sources ensuring the whole state of
the upstream project source repo is used.

With submodules we still do not copy over a potential big .git
folder, as we as submodule user have the submodules .git state in our
.git/modules folder where the submodule just references to.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile