HomeFreeBSD

Restore scripts/make_gitrev.sh

Description

Restore scripts/make_gitrev.sh

Commit 109d2c931020 ("Move zfs_gitrev.h to build directory") removed
scripts/make_gitrev.sh, putting the logic into the Makefile itself.

However, at least the Arch Linux packager wants the script so that the
file can be generated without having to run configure first, for
DKMS packaging purposes.

So move the make recipe back into the script.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10595

Details

Provenance
Arvind Sankar <nivedita@alum.mit.edu>Authored on Jul 17 2020, 9:30 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 22 2020, 4:59 PM
Parents
rG5dd92909c6d1: Adjust ARC terminology
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd32a59fe2b29: Restore scripts/make_gitrev.sh (authored by Arvind Sankar <nivedita@alum.mit.edu>).Jul 22 2020, 4:59 PM