VULNS_GIT
environment variable to a clone of https://git.kernel.org/pub/scm/linux/security/vulns.gitKSOURCE_GIT
environment variable to a clone of kernel-sourcePick a working directory WD
(will store working data)
Run as
cd $WD
make -f path/to/scripts/cve_tools/Makefile BRANCH=cve/linux-5.14-LTSS update_refs_history
KSOURCE_GIT
and add commits with new
referencesKSOURCE_GIT
is not same directory where
scripts/cve_tools/Makefile resides (e.g. use git worktrees)WD
XDG_CACHE_HOME
so that they can be used by
other utilsgit --git-dir="$(VULNS_GIT)/.git" pull
is broken, it adds files to $WD when fresh pull