Skip to content

Commit

Permalink
copy-builtin: remove .gitignore from KERNEL_DIR/include/zfs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
veggiemike authored and tonyhutter committed Dec 14, 2020
1 parent 0b4f698 commit acfc494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions copy-builtin
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit acfc494

Please sign in to comment.