aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* utils/scanpypi: use python3 explicitlyGravatar Thomas Petazzoni12 days1-1/+1
| | | | | | | | | | | | | scanpypi is python3 compatible. In addition, it executes the setup.py of Python modules to extract the relevant information. Since these are more and more commonly using python3 constructs, using "python" to run scanpypi causes problems on systems that have python2 installed as python, when trying to parse setup.py scripts with python3 constructs. Fixes part of #13516. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* utils/getdeveloperlib.py: reduce Cc: list based on package infrasGravatar Thomas Petazzoni2021-02-101-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a developer has package/pkg-<infra>.mk assigned to him/her in the DEVELOPERS file, this has 3 implications: (1) Patches adding new packages using this infrastructure are Cc'ed to this developer. This is done by the analyze_patch() function, which matches the regexp r"^\+\$\(eval \$\((host-)?([^-]*)-package\)\)$" in the patch, i.e where an added line contains a reference to the infra maintained by the developer. (2) Patches touching the package/pkg-<infra>.mk file itself are Cc'ed to this developer. (3) Any patch touching a package using this infra are also Cc'ed to this developer. Point (3) causes a significant amount of patches to be sent to developers who have package/pkg-generic.mk and package/pkg-autotools.mk assigned to them in the DEVELOPERS file. Basically, all patches touching generic or autotools packages get CC'ed to such developers, which causes a massive amount of patches to be received. So this patch adjusts the getdeveloperlib.py to drop point (3), but preserves point (1) and (2). Indeed, it makes sense to be Cc'ed on new package additions (to make a review that they use the package infrastructure correctly), and it makes sense to be Cc'ed on patches that touch the infrastructure code itself. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/perl: bump to version 5.32.1Gravatar Francois Perrad2021-01-251-4/+4
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils: fix flake8 warningGravatar Yann E. MORIN2021-01-231-1/+0
| | | | | | | | | | | | | Commit 40bb37bd70d refactored get-developers, and now the 'os' module is no longer needed, but still imported: utils/get-developers:6:1: F401 'os' imported but unused 1 F401 'os' imported but unused Drop it now. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* utils/getdeveloperlib.py: use relative paths for filesGravatar Thomas Petazzoni2021-01-172-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using absolute paths within getdeveloperlib isn't very sensible, it makes a lot more sense to handle everything as relative paths from the top-level Buildroot source directory. parse_developers() is changed to no longer take the base path as argument: it is automatically calculated based on the location of utils/getdeveloperlib.py. Then, the rest of the logic is adjusted to use relative paths, and prepend them with the base "brpath" when needed. This commit allows pkg-stats to report correct developers information even when executed from an out of tree directory. Before this patch: $ ~/buildroot/support/scripts/pkg-stats -p ipmitool --json out.json $ cat out.json | jq '.packages.ipmitool.developers' [] $ cat out.json | jq '.defconfigs.stm32f469_disco' { "name": "stm32f469_disco", "path": "configs/stm32f469_disco_defconfig", "developers": [] } After this patch: $ ~/buildroot/support/scripts/pkg-stats -p ipmitool --json out.json $ cat out.json | jq '.packages.ipmitool.developers' [ "Floris Bos <bos@je-eigen-domein.nl>", "Heiko Thiery <heiko.thiery@gmail.com>" ] $ cat out.json | jq '.defconfigs.stm32f469_disco' { "name": "stm32f469_disco", "path": "configs/stm32f469_disco_defconfig", "developers": [ "Christophe Priouzeau <christophe.priouzeau@st.com>" ] } Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Tested-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/get-developers: use Developers.hasfile() where appropriateGravatar Thomas Petazzoni2021-01-171-3/+2
| | | | | | | | | Instead of open-coding Developers.hasfile() in utils/get-developers, use it directly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Tested-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/checkpackagelib/lib_mk.py: handle 'else' and 'elif' statementsGravatar Thomas De Schampheleire2021-01-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An 'else' or 'elif' clause inside a make conditional should not be indented in the same way as the if/endif clause. check-package did not recognize the else statement and expected an indentation. For example: ifdef FOOBAR interesting else more interesting endif would, according to check-package, need to become: ifdef FOOBAR interesting else more interesting endif Treat 'else' and 'elif' the same as if-like keywords in the Indent test, but take into account that 'else' is also valid shell, so we need to correctly handle line continuation to prevent complaining about the 'else' in: ifdef FOOBAR if true; \ ... \ else \ ... \ fi endif We don't add the 'else' and 'elif' statements to start_conditional, because it would cause incorrect nesting counting in class OverriddenVariable. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: add GPL* as license fileGravatar Francois Perrad2020-12-291-1/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: handles README.pod as license fileGravatar Francois Perrad2020-12-291-0/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/getdeveloperlib.py: fix issue with hasfile()Gravatar Heiko Thiery2020-11-171-0/+1
| | | | | | | | | | | | | pkg-stats is not able anymore to set the developers for defconfigs and packages. This issue is introduced with ae86067a151b6596ca492d6f94ed513f4f8e18d7. The hasfile() method from Developer object tries to check an absolute path against a relative path. Convert the filepath to be checked also into an absolute path. Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* genrandconfig: uboot-tools env/scr creation test filesGravatar Matt Weber2020-10-061-0/+16
| | | | | | | | | | Normally the kconfig stings would end up empty and cause a build error. This patch provides test files to allow testing the creation of uboot environment and script bin files from user provided txt files. Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/scanpypi: use raw strings in re.compile/re.subGravatar Thomas Petazzoni2020-08-141-4/+4
| | | | | | | | | | Fixes the following Python 3.x flake8 warning: W605 invalid escape sequence '\w' Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Titouan Christophe <titouan.christophe@railnova.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/getdeveloperlib.py: use raw strings for re.compile/re.matchGravatar Thomas Petazzoni2020-08-141-5/+5
| | | | | | | | | | Fixes the following Python 3.x flake8 warning: W605 invalid escape sequence '\s' Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Titouan Christophe <titouan.christophe@railnova.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/{check-package, checkpackagelib}: consistently use raw strings for ↵Gravatar Thomas Petazzoni2020-08-144-52/+52
| | | | | | | | | | | | | re.compile Raw strings need to be used when calling re.compile() otherwise Python 3.x flake8 complains with: W605 invalid escape sequence '\s' Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Titouan Christophe <titouan.christophe@railnova.eu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: use two spaces indentation in hash fileGravatar Fabrice Fontaine2020-03-151-3/+3
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Merge branch 'next'Gravatar Peter Korsgaard2020-03-091-3/+3
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * utils/scanpypi: update hash file indentation formattingGravatar James Hilliard2020-02-261-3/+3
| | | | | | | | | | | | | | The new .hash convention is to use 2 spaces between fields. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | utils/genrandconfig: drop outdated python-nfc checkGravatar Peter Korsgaard2020-03-041-3/+0
| | | | | | | | | | | | | | | | | | Commit 9ea528f84ba (package/python-nfc: bump to version 0.13.5) changed the python-nfc package to download from github, so the package no longer needs bzr on the host. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* | Config.in: drop BR2_NEEDS_HOST_{JAVAC,JAR}Gravatar Peter Korsgaard2020-03-031-4/+0
|/ | | | | | | With classpath removed, no packages select these symbols any more - So drop them and their corresponding logic in dependencies.sh / genrandconfig. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* utils/check-package: ignore ACLOCAL_PATHGravatar Yann E. MORIN2020-02-041-0/+1
| | | | | | | | | The aclocal program is provided by the automake package, so it makes sense to define aclocal-related variables in automake.mk. Add an exception to check-package to ignore that variable. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* utils/scancpan: warn when a module is a perl core moduleGravatar Francois Perrad2020-01-081-0/+3
| | | | | | | | | we don't want create new BR package with perl core module, because core modules are already included in perl distribution, and built with the BR package perl. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* utils/scanpypi: remind developer about updating DEVELOPERS and Config.inGravatar Matt Weber2019-12-261-0/+2
| | | | | Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/genrandconfig: test per-package directoriesGravatar Thomas Petazzoni2019-12-051-0/+4
| | | | | | | | | | Now that the support for per-package directories has been merged, it is time to get some exposure for it in the autobuilders, so let's build 1 out of 15 builds with this feature enabled, at least as an initial step. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* utils/scancpan: follow Perl versionGravatar Francois Perrad2019-12-031-4/+4
| | | | | | | linked to https://git.busybox.net/buildroot/commit?id=01134ca99a2c83932aee42984c81e51cc0428425 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/genrandconfig: fix runtime issue with Python 3Gravatar Thomas Petazzoni2019-12-031-9/+1
| | | | | | | | | | | | | | With Python 3.7, genrandconfig fails with: 'str' object has no attribute 'decode' We are already working on str objects, and there is no need to decode them, so we drop the call to decode_byte_list() and its definition as it was only used there. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/scanpypi: sort alphabetically list of required packagesGravatar Bartosz Bilas2019-11-081-0/+1
| | | | | | | | | | | | | | That change will alphabetically set list order of required packages in Config.in file automatically. Example below: before: ['python-pyserial', 'python-pyaes', 'python-ecdsa'] after: ['python-ecdsa', 'python-pyaes', 'python-pyserial'] Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: handle LICENCE spellingGravatar Francois Perrad2019-10-291-1/+1
| | | | | | | License files are sometimes called LICENCE, so support that as well. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/genrandconfig: test full set of hardening optionsGravatar Matt Weber2019-10-271-0/+10
| | | | | | | | | | | This patch adds the remaining ssp and relro cases plus both of the fortify options. The randomization was left consistant between the options but the order of the conditions placed the most restrictive hardening options with more priority. Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/genrandconfig: test configurations with BR2_SSP_ALLGravatar Fabrice Fontaine2019-10-271-0/+2
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/genrandconfig: test configurations with BR2_RELRO_FULLGravatar Fabrice Fontaine2019-10-271-0/+2
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/check-package: report := that appends to variablesGravatar Yann E. MORIN2019-10-271-1/+3
| | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/genrandconfig: use randint instead of (undefined) randIntGravatar Asaf Kahlon2019-10-261-1/+1
| | | | | | | Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455 Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/genrandconfig: test configurations with BR2_PIC_PIEGravatar Fabrice Fontaine2019-10-261-0/+2
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* scanpypi: write every license file onceGravatar Asaf Kahlon2019-10-111-0/+2
| | | | | | | | | | | | On some cases, when the package contains multiple license files and some of them from the same type, the scanpypi script will write the same license type more than once under _LICENSE. Hence, before creating the _LICENSE variable, we'll remove every possible duplication. Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/test-pkg: ensure to exit with an error upon failureGravatar Heiko Thiery2019-10-101-0/+2
| | | | | | | | | | This commit modifies the main() function so that it returns the sum of build and legal errors, making sure the overall test-pkg script exists with a non-zero error code upon failure. Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com> [Thomas: improved commit log] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/checkpackagelib: CommentsMenusPackagesOrder: add more Config.in files ↵Gravatar Jerzy Grzegorek2019-10-071-2/+4
| | | | | | | | | | to check Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> [Arnout: remove boot/Config.in, it is not ordered correctly yet.] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/checkpackagelib: CommentsMenusPackagesOrder: initialize ↵Gravatar Jerzy Grzegorek2019-10-071-1/+1
| | | | | | | | | | | | 'menu_of_packages' array 'source' without a previous 'menu' is common in package/Config.in in br2-externals. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/checkpackagelib: CommentsMenusPackagesOrder: initialize in before()Gravatar Jerzy Grzegorek2019-10-071-5/+4
| | | | | | | | | | | | This makes sure the state from a previous run (previous file) can never leak over into the next file. Also order the initializations alphabetically. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/checkpackagelib: CommentsMenusPackagesOrder: use '-' to describe stateGravatar Jerzy Grzegorek2019-10-071-1/+1
| | | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/checkpackagelib: CommentsMenusPackagesOrder: separate comment/if/menu ↵Gravatar Jerzy Grzegorek2019-10-071-12/+12
| | | | | | | | | | | | | | | cases The handling of 'comment...', 'if ...' and 'menu ...' lines have almost nothing in common, and subsequent patches will give them even less in common. Therefore, completely separate their handling in top-level conditions. The only code that gets duplicated in the different branches is the 'self.initialize_level_elements(text)' call. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/checkpackagelib: CommentsMenusPackagesOrder: remove '-comment' state ↵Gravatar Jerzy Grzegorek2019-10-071-0/+3
| | | | | | | | | | | | | | before the '-menu' one A comment is considered an alternative delimiter like a menu. I.e., a menu that comes after a comment should not be considered a submenu of that comment. Therefore, remove the '-comment' state before adding the '-menu' one. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* utils/checkpackagelib: CommentsMenusPackagesOrder: change the type of ↵Gravatar Jerzy Grzegorek2019-09-251-3/+4
| | | | | | | | | | | | variable 'new_package' Change the type of variable 'new_package' to make it a class member. It will be used not only locally. Also initialize it. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/checkpackagelib: CommentsMenusPackagesOrder: add functions to ↵Gravatar Jerzy Grzegorek2019-09-251-10/+15
| | | | | | | | | | | | initialize arrays elements Factor out two functions to initialize arrays elements. They will be reused by followup patches. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/checkpackagelib: CommentsMenusPackagesOrder: get value of variable 'level'Gravatar Jerzy Grzegorek2019-09-251-1/+2
| | | | | | | | | Get value of variable 'level' only just after the state change. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/checkpackagelib: CommentsMenusPackagesOrder: change the type of ↵Gravatar Jerzy Grzegorek2019-09-251-11/+12
| | | | | | | | | | | | | | variable 'level' Change the type of variable "level" to make it a class member. It will be used not only locally. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> [Thomas: initialize self.level in the before() method, as suggested by Ricardo] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/checkpackagelib: CommentsMenusPackagesOrder: rename variable 'm'Gravatar Jerzy Grzegorek2019-09-251-3/+4
| | | | | | | | | Rename variable 'm' for better readability. Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com> Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/scancpan: improve license file detectionGravatar Francois Perrad2019-09-171-0/+1
| | | | | | | | | MANIFEST may contains line like this: "LICENSE LICENSE file (added by Distar)" so, retains only the first word. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/genrandconfig: only do reproducible builds with diffoscopeGravatar Thomas Petazzoni2019-08-071-2/+2
| | | | | | | | | | | | | | After a few weeks of running reproducible builds in the autobuilders, we found out that such builds without a diffoscope analysis are pretty useless: the cmp on the tarballs doesn't help us fix the reproducibility issue. So, let's only do reproducible builds when diffoscope is available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Tested-by: Atharva Lele <itsatharva@gmail.com> Acked-by: Atharva Lele <itsatharva@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/genrandconfig: instantiate SystemInfo() earlierGravatar Thomas Petazzoni2019-08-071-3/+4
| | | | | | | | | | | In a future patch, we are going to need a SystemInfo() instance in gen_config(), so create the SystemInfo() instance there, and pass it to fixup_config(), where we currently use it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Tested-by: Atharva Lele <itsatharva@gmail.com> Acked-by: Atharva Lele <itsatharva@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* utils/getdeveloperlib.py: fix flake8 warningsGravatar Victor Huesca2019-08-051-2/+3
| | | | | | | Fix a weird blank-line missing and 2 trailing blank-space. Signed-off-by: Victor Huesca <victor.huesca@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>