diff options
author | 2018-11-15 17:34:09 +0100 | |
---|---|---|
committer | 2018-11-26 12:48:13 +0100 | |
commit | cd7fa21864132bef9d8f62a8b0d45451d5868b6c (patch) | |
tree | c25b8f7b81a717176f443a14c38a5abfa3b78135 | |
parent | 353477440b06b052c6c93f569e287ae5530cfe7b (diff) | |
download | buildroot-cd7fa21864132bef9d8f62a8b0d45451d5868b6c.tar.gz buildroot-cd7fa21864132bef9d8f62a8b0d45451d5868b6c.tar.bz2 |
utils/genrandconfig: add missing new line when creating the configuration
When adding the custom BR2_WGET value in the configuration,
genrandconfig forgets to add a newline. Due to this, the next option
that is added is printed on the same line as BR2_WGET="", which causes
it to be ignored.
Due to this, in all builds, the line right after BR2_WGET was
ignored. It could have been BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX,
BR2_INIT_SYSTEMD, BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV,
BR2_STATIC_LIBS or BR2_PACKAGE_PYTHON_PY_ONLY depending on the
randomization.
Fix that by adding a proper newline at the end of the BR2_WGET option.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 3eb49f59d6804c452e784759d9b3869215a8098f)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rwxr-xr-x | utils/genrandconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/genrandconfig b/utils/genrandconfig index 8a6bdb6a0c..fa2c0f7f21 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -348,7 +348,7 @@ def gen_config(args): configlines += minimalf.readlines() # Allow hosts with old certificates to download over https - configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"") + configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"\n") # Amend the configuration with a few things. if randint(0, 20) == 0: |