[Bug 274191] There is no knob to disable git use on build system

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Oct 2023 03:36:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274191

            Bug ID: 274191
           Summary: There is no knob to disable git use on build system
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

sys/conf/newvers.sh -R KERNEL_CONFIG_NAME
and
make -C release -V BRANCH
called during build kernel and wold.
Both call git if it installed and does not fail if there is no git or .git
repo.

NOGIT='yes' does not stop this.

As workaround I use:
GIT_CMD='/dev/_not_exist_'
helps with (release/Makefile.inc1)
and
svnversion='echo'
sed -i '.orig' -e 's|local savedir|return 1|g' "sys/conf/newvers.sh"

Is it possible to make NOGIT=yes work for whole build process?

-- 
You are receiving this mail because:
You are the assignee for the bug.