copy-builtin: remove .gitignore from KERNEL_DIR/include/zfs
While it makes sense to make sure we don't control the generated zfs_gitrev.h in the zfs source tree, once we copy the module sources into a kernel source tree that's a problem. If you're keeping your zfs sources in a kernel tree on a branch, you want to commit all the required files. Signed-off-by: Michael D Labriola <michael.d.labriola@gmail.com>
This commit is contained in:
parent
0b4f698e2a
commit
acfc4944d0
|
@ -36,6 +36,7 @@ rm -rf "$KERNEL_DIR/include/zfs" "$KERNEL_DIR/fs/zfs"
|
|||
cp --recursive include "$KERNEL_DIR/include/zfs"
|
||||
cp --recursive module "$KERNEL_DIR/fs/zfs"
|
||||
cp zfs_config.h "$KERNEL_DIR/include/zfs/"
|
||||
rm "$KERNEL_DIR/include/zfs/.gitignore"
|
||||
|
||||
for MODULE in "${MODULES[@]}"
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue