summaryrefslogtreecommitdiff
path: root/devel
AgeCommit message (Collapse)Author
2014-01-18backports: update kernel versionsHauke Mehrtens
Update to current versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-12-08backports: add Python based backports-update-managerLuis R. Rodriguez
This replaces the old shell scripts: * get-compat-kernels * get-compat-trees with a shiny central Python based backpor update manager: * backports-update-manager The new version provides a few features which were simply a difficult to implement and quite frankly pointless to try to implement in shell. Things worth mentioning: * This will now monitor your old directories and packages and remove any stale old directory or packages. You should feel comfortable with now just getting the latest code from the repo and always just running the script, it will do everything you wished it did for you. * This will always check the URLs and ensure your file size matches the target upstream size, we used to only check if you had the file or not * The compat-ksrc directory was renamed to ksrc-backports which goes inline with our rebranding crusade. The tool is smart enough to figure out if you had the old name and rename it for you. Its also smart enough to figure out if you had your old compat-ksrc as a symlink and preserve things just as you intended following the old real path. * The debs/ directory is now moved into ksrc-backports, making it easier to manage and detect what is or not part of backports. * I found no way to deal with objects to extract GNU archive items with Python, so we're stuck with requiring GNU ar, this provides a simple wrapper for our usage. * For the tree updater we instead or relying on Linus' tree to be a remote we leave it separately but always use --reference and allow users to provide their own --reference override for new clones. It should be easy to extend this should others have other custom work spaces through a config file or the like. * To keep backports up to date on a system after an initial run one should only need to run through a cronjob: backports-update-manager --force To only update the git trees: backports-update-manager --force --git-trees-only Relying on an continued update list is dumb though, in the future we should look into putting out new builds through without requiring GNU ar and also updating the list through a json file just as the kernel has its own now: https://www.kernel.org/releases.json Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-12-06ckmake: sort kernel releases properlyJohannes Berg
Ever since 3.10, kernel releases weren't sorted properly. Put them into a parsed list first and then sort them to get the 3.10/11/12 etc. to the bottom of the list. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-11-23backports: update test kernelsHauke Mehrtens
Add kernel 3.13-rc1 and update the other kernel versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-31backports: update test kernel versionsHauke Mehrtens
This brings the kernels test test against to the latest versions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-10-21backports: update test kernel versionsbackports-20130822Hauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-08-27remove support for kernel 2.6.24Johannes Berg
By requiring 2.6.25 we can get rid of quite a lot of backport work. 2.6.25 was released more than five years ago (April 2011) and wasn't a long-term kernel either, so there's little point in supporting it now. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-08-12backports: update kernel version to test againstHauke Mehrtens
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-07-12backports: add gplizer for EXPORT_SYMBOL_GPL() helpLuis R. Rodriguez
If we forget to use EXPORT_SYMBOL_GPL() we can run this. We may later use this for other things. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-06-05gentree/git-tracker: make python 3 compatibleJohannes Berg
Make the python scripting compatible with python 3 (as tested with python 3.3). The patch library was a bit tricky. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-05-20backports: add kernel 3.10 and update othersbackports-20130520Hauke Mehrtens
Add kernel 3.10 to the script fetching the kernels for compile testing. This also fixes the header rebuild for kernel versions >= 3.10. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-05-08python support: rename git library to bpgitJohannes Berg
There's a python git library, and our name conflicts with it since it's also just called "git". I want to use the python library (optionally) to speed up the git accesses so this is now relevant. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-05-07get-compat-kernels: update all kernelsLuis R. Rodriguez
Update to the latest available set. You'll need 3.9 updated if you want to test against next-20130403 due to fffe01f7. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-05-07ckmake: add support for kernel rangesLuis R. Rodriguez
At times you may only want to test with ckmake a specific kernel range or target kernels. You can do that now. ckmake will use this list against what it finds on your system. Examples: * ckmake --revs 3.3..3.4 * ckmake --revs 2.6.24,2.6.30,2.6.32..3.2,3.4 The base kernels revisions is what is expected. The base kernel revision of say 3.4.5 is 3.4, the base revision of say 2.6.24.2 is 2.6.24. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-05-07ckmake: rename get_rel_spec() to get_rel_spec_ubuntu()Luis R. Rodriguez
Vanilla Linux kernels are being used but the directory file naming for for the kernels are Ubuntu specific, clarify that. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-05-07ckmake: make --check-exports defaultLuis R. Rodriguez
Remove --check-exports as an option and now just enable it by default. Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> [fix typo] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-18git-tracker: fix multi-commit trackingJohannes Berg
Fix a bug with multiple commits: the first commit in a series was always treated as "multiple" because it had no correct parent recorded in the dictionary. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-16git-tracker: clarify configuration a bitJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15devel: add back scripts for fetching kernelsHauke Mehrtens
These scripts are copied from compats bin directory. I updated the kernels referenced in get-compat-kernels. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: move header filesJohannes Berg
This first step in reorganising the header files moves all the header files into a new backport-include/ directory that gets priority over the regular include/ where we copy the files we want to backport from the kernel. This will help split all the header files into logical units. While at it, move and rename compat_2.6.h and compat_autoconf.h to backport/backport.h and backport/autoconf.h respectively. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15ckmake: optionally fail on linker failuresJohannes Berg
This will be enabled by default later, but right now it fails on media/regulator drivers. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-09git tracker: add special version string to buildJohannes Berg
In output trees created with the git tracker, we avoid changing the "versions" file all the time and just put "(see git)" into the versions. However, it's useful to still be able to identify it, and when using this the backport is (usually) built in the git tree. Use this fact and add the git tree commit into a new variable to put it into the MODULE_VERSION and also print it at runtime. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-05ckmake: allow using defconfig fileJohannes Berg
This is useful to check only a certain subsystem, e.g. DRM. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-05ckmake: fix getting number of CPUsJohannes Berg
The code to get the number of CPUs is wrong, it finds the maximum *string* between the CPUs and then converts it to an integer after that -- fix that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-05git tracker: handle temporary failures betterJohannes Berg
If there are multiple commits in the source kernel, one of which causes backporting failures (ie. patches don't apply), and a subsequent one fixes it, the output is very confusing because it skips the failing commit. Change the script to generate a combination commit in this case that contains the shortlog of all the commits inbetween that were broken. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-05git tracker: rename 'prefail' to 'last-success'Johannes Berg
That's more obvious ... Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-05git tracker: override committer/author in commitsJohannes Berg
For commits generated by the git tracker, the committer should always be set to the script, and for those that are "meta commits" (like failures or backport updates) the author should also be set to it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-05doc: clarify why symbol renaming is neededJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-04add some kconfig/make system documentationJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-04git tracker: don't chdir, remove verbose argumentJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-04git tracker: allow creating defconfig symlinkJohannes Berg
This makes it possible to do just 'make' in the output tree, rather than having to configure first. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2013-04-04git tracker: override versions fileJohannes Berg
Otherwise it keeps changing. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2013-04-04git-tracker: fix small bugJohannes Berg
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2013-04-04devel: add git tracker helper scriptJohannes Berg
This allows creating a git tree based on the backport output automatically, to track an upstream kernel tree. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2013-04-03ckmake: parallelise even allyesconfig/allnoconfigJohannes Berg
There are two C files to build in there :-) Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2013-04-02ckmake: default to just building compatJohannes Berg
but add --allyesconfig option Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2013-04-02adjust/fix ckmakeJohannes Berg
* adjust to make allyesconfig ; make, it is necessary to pass KCONFIG_ALLCONFIG to "make allyesconfig" * don't use shell, build command ourselves * remove pointless ignore pattern with \ Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
2013-04-02add ckmake back under devel/ dirJohannes Berg
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>