aboutsummaryrefslogtreecommitdiffstats
path: root/tools/kgit-init
AgeCommit message (Collapse)Author
2019-08-08Add SPDX license headers to source filesWilliam Bourque
Kconfiglib/* were under ISC license before they were imported here from https://github.com/ulfalizer/Kconfiglib Adjusting SPDX header to reflect that fact. tools/* all have some sort of GPLv2 headers; adding SPDX header to make it obvious. This address bug #13334 : https://bugzilla.yoctoproject.org/show_bug.cgi?id=13334 Change-Id: I243f2dd266a398f982798b771e74a67be70ecb52 Signed-off-by: William Bourque <wbourque@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2016-07-12kgit-scc: update tree gen to new kern-toolsBruce Ashfield
Recent changes to scc/spp process .scc files and generate meta-series that are in a slightly different location. With this commit we can once again process an entire kernel-cache and produce a branched and populated git tree. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-09-30kgit-init: add more error checkingPaul Gortmaker
To cover corner cases that are more apt to show up when doing treegen and when $META != meta/ Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-09-30kgit-init: ensure meta_branch is passed to kgit-checkpointPaul Gortmaker
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-08-20kgit-init: disable garbage collection on a new treePaul Gortmaker
It turns out to be inevitable, and just annoying when making a tree from several hundreds of patches. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-08-20kern-tools: use .meta as meta data containerBruce Ashfield
Previously the meta directory was added to all .gitignore files, otherwise all users of the kernel would see an untracked directory "meta". This caused workflow issues, since the same .gitignore was shared on the meta branch itself. Which meant that changes were not shown and files needed to be added with the -f flag. To fix this, we teach the tools to look for .$META as the meta data container, and place the meta branches directory under that same name. The result is that the .meta directory is ignored by git automatically, but is available to all branches. And switching to the meta branch no longer warns of clobbered files, and once you arrive, files are tracked and manipulated normally. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-15kgit: teach tools about non-default meta dirsPaul Gortmaker
Use new command line option and existing KMETA env var where appropriate. Also disable autoresume in order to speed up treegen patch pushes. ($sname vs. "-a" flag). Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2013-04-09scc/updateme/spp: fix cfg includes and remove obsolete codemaster-test2Bruce Ashfield
To support inhibiting of configuration values via include directives, it must happen in a depth first based processing mode. The existing monolithic processing of files, which then generate a script, that generates a meta-series work in a model where all files are found, individually processed and then re-assembled to generate the file output. To allow enhanced processing of includes, we break the processing into two parts, while keeping the output identical to the existing outputs of the scripts. The first phase preprocesses the target files, in a depth first manner, expanding included files, and converting kernel configuration and patch directives to absolute paths (while performing checks on their existence). The second phase, consumes the preprocessed file, and generates a meta-series for future processing. The logic and output of the existing scc processing is maintained, but is now faster, robust and can handle more complex conditioning of the input files. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-02-24kgit-init: update tools listBruce Ashfield
The list of tools captured in the meta directory of a new repository was missing some recent addition. With this change, all tools used to construct, configure and build a kernel are copied into the meta/scripts directory during repository creation. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-06-18kgit-init: check for valid branchpointBruce Ashfield
When generating a tree, it is (unfortunately) common that the base tree doesn't contain the tag that the user thinks it does. In this case, we should abort the tree generation and report a clear error. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-04-27kgit-init: correct spelling of createmetools-ngMichel Thebeau
kgit-init copies the kern-tools scripts and intends to copy createme. The typo is in the usage() of updateme as well. Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
2012-04-17kgit-init: remove remote init support and update default content branchBruce Ashfield
The ability to run kgit-init against a remote repository is unused, and it is reasonable to expect that a build system / fetcher should be used to ensure that the repository being used is local the location where it will be built. As a result, we can remove support from the script. Secondarily, a safe default content branch of 'master' is chosen, since it will exist in all repositories. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-02-05update content branch to 'base' versus 'yocto/base'Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-12-12kgit-init: cleanup creation phaseBruce Ashfield
In order to cleanup/clarify the initialization process, it is best to checkout branches quietly, and only create the meta branch when required. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-11-15kgit-init: fix minor comment typoBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-23kgit-init: make content creation optionalBruce Ashfield
It isn't always desireable that kgit-init create branches and commits, in particular when a custom repository is being used that may or may not contain existing branches. If content is not supposed to be created, the repository is conditioned and staged, but no branches or commits are created. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-08-15kgit-init: update terminology to be more genericBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-06-21tools: remove confusing meta subdirBruce Ashfield
The 'meta' branch can have many names, but when it is called 'meta' the subdirectory meta/cfg/meta/, simply looks like a mistake. This is renamed to meta/cfg/scratch/ to indicate its actual use .. a scratch location for building the meta series. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2011-01-24kern-tools: use generic references/variables where possibleBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-02yocto: generalize branch names and configurationBruce Ashfield
The existing branch and meta data storage was tightly coupled to the existing naming scheme. In order to support a more transparent branch hierarchy, changes are required to the scripts that manage the tree. Note: These changes are not backwards compatible with old trees. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-07-16kern_tools: instatiate minimum set of kernel toolsbruce
Create the smallest set of kernel tools required to checkout, build and manipulate Wind River Linux kernel. Details of the usage are in the indivdual scripts, but generally speaking these are never excuted directly by the end user Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>