Treat the automatically generated zfs.<distro> init scripts as build products by adding them to a directory specific .gitignore file.