summaryrefslogtreecommitdiff
path: root/devel/ckmake
AgeCommit message (Collapse)Author
2017-10-13ckmake: use white instead of bluev4.14-rc4-1pendingJohannes Berg
Blue on black is really hard to read, use white on black. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-07ckmake: restrict make to load average <50Johannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-07ckmake: don't import *Johannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2015-07-20ckmake: address directory max depthLuis R. Rodriguez
It seems new versions of python make the os walk recurse more than we used to before, our ckmake implementation was picking up more kernels targets than obviously we want to build then. Fix this by replacing the os.walk() with a simple os.listdir() which just keeps us at the top level directory of lib/modules. While at it, this adds the --develdebug option which lets you debug the the directory naming it will use for display and what directories it will traverse without actually compiling anything and without using ncurses. For instance to debug or ckmake without compilation you can use: $ ckmake --allyesconfig --develdebug Paths for kernels: 3.4.103-0304103-generic 3.9.11-030911-generic 3.2.62-030262-generic 3.16.2-031602-generic 3.11.10-031110-generic 3.8.13-030813-generic 3.5.7-03050712-generic 3.0.101-0300101-generic 3.15.10-031510-generic 3.6.11-030611-generic 3.13.11-031311-generic 3.1.10-030110-generic 3.10.54-031054-generic 3.3.8-030308-generic 3.7.10-030710-generic 3.14.18-031418-generic 3.17.0-031700rc3-generic 3.12.27-031227-generic IDX VERSION DIRECTORY 1 3.0.101 /home/mcgrof/ksrc-backports/lib/modules/3.0.101-0300101-generic 2 3.1.10 /home/mcgrof/ksrc-backports/lib/modules/3.1.10-030110-generic 3 3.2.62 /home/mcgrof/ksrc-backports/lib/modules/3.2.62-030262-generic 4 3.3.8 /home/mcgrof/ksrc-backports/lib/modules/3.3.8-030308-generic 5 3.4.103 /home/mcgrof/ksrc-backports/lib/modules/3.4.103-0304103-generic 6 3.5.7 /home/mcgrof/ksrc-backports/lib/modules/3.5.7-03050712-generic 7 3.6.11 /home/mcgrof/ksrc-backports/lib/modules/3.6.11-030611-generic 8 3.7.10 /home/mcgrof/ksrc-backports/lib/modules/3.7.10-030710-generic 9 3.8.13 /home/mcgrof/ksrc-backports/lib/modules/3.8.13-030813-generic 10 3.9.11 /home/mcgrof/ksrc-backports/lib/modules/3.9.11-030911-generic 11 3.10.54 /home/mcgrof/ksrc-backports/lib/modules/3.10.54-031054-generic 12 3.11.10 /home/mcgrof/ksrc-backports/lib/modules/3.11.10-031110-generic 13 3.12.27 /home/mcgrof/ksrc-backports/lib/modules/3.12.27-031227-generic 14 3.13.11 /home/mcgrof/ksrc-backports/lib/modules/3.13.11-031311-generic 15 3.14.18 /home/mcgrof/ksrc-backports/lib/modules/3.14.18-031418-generic 16 3.15.10 /home/mcgrof/ksrc-backports/lib/modules/3.15.10-031510-generic 17 3.16.2 /home/mcgrof/ksrc-backports/lib/modules/3.16.2-031602-generic 18 3.17-rc3 /home/mcgrof/ksrc-backports/lib/modules/3.17.0-031700rc3-generic Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-05-01backports: add ckmake binary requirementsLuis R. Rodriguez
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-05-01backports: run autopep8 on ckmakeLuis R. Rodriguez
This converts rel-html.py to conform to the PEP 8 style guide using autopep8. If using vi, consider adding this to your .vimrc: filetype indent plugin on au FileType python setlocal tabstop=8 expandtab shiftwidth=4 softtabstop=4 Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
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-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-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-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-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>