utils/genrandconfig: test per-package directories
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 3 Dec 2019 14:59:03 +0000 (15:59 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 5 Dec 2019 09:30:48 +0000 (10:30 +0100)
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/genrandconfig

index c221ebd6705d8f6d03866d52fc6d59f4c1f183e2..5b60bc21d67c1cbfcf20f03c1d8e50239fe70d42 100755 (executable)
@@ -341,6 +341,10 @@ def gen_config(args):
     # Allow hosts with old certificates to download over https
     configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"\n")
 
+    # Per-package folder
+    if randint(0, 15) == 0:
+        configlines.append("BR2_PER_PACKAGE_DIRECTORIES=y\n")
+
     # Amend the configuration with a few things.
     if randint(0, 20) == 0:
         configlines.append("BR2_ENABLE_DEBUG=y\n")