Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] utils/genrandconfig: add jquery-ui-themes handling
@ 2022-08-20 11:33 Fabrice Fontaine
  2022-08-21  9:49 ` Yann E. MORIN
  0 siblings, 1 reply; 6+ messages in thread
From: Fabrice Fontaine @ 2022-08-20 11:33 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Add a custom case to make sure that a random configuration with an empty
theme for jquery-ui-themes doesn't fail. It reverts to
BR2_PACKAGE_JQUERY_UI_THEMES_BLACK_TIE in that case.

Fixes:
 - http://autobuild.buildroot.org/results/b38f605795b1c60d8253313ce9478c4b1991d390

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 utils/genrandconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/utils/genrandconfig b/utils/genrandconfig
index 85db7ed1e9..9d2ed3f244 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -547,6 +547,11 @@ def fixup_config(sysinfo, configfile):
         if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines:
             return False
 
+    if 'BR2_PACKAGE_JQUERY_UI_THEMES=y\n' in configlines and \
+       'BR2_PACKAGE_JQUERY_UI_THEMES_THEME=""\n' in configlines:
+        configlines.append('BR2_PACKAGE_JQUERY_UI_THEMES_BLACK_TIE=y\n')
+        configlines.remove('BR2_PACKAGE_JQUERY_UI_THEMES_THEME=""\n')
+
     if 'BR2_TARGET_OPENSBI=y\n' in configlines and \
        'BR2_TARGET_OPENSBI_CUSTOM_GIT=y\n' in configlines and \
        'BR2_TARGET_OPENSBI_CUSTOM_REPO_URL=""\n' in configlines:
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-24  9:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-20 11:33 [Buildroot] [PATCH 1/1] utils/genrandconfig: add jquery-ui-themes handling Fabrice Fontaine
2022-08-21  9:49 ` Yann E. MORIN
2022-08-21 12:03   ` Yann E. MORIN
2022-08-23  9:30     ` Yann E. MORIN
2022-08-23 20:14       ` Arnout Vandecappelle
2022-08-24  9:32         ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox