diff mbox series

[1/2] Revert "utils/genrandconfig: add refpolicy custom git handling"

Message ID 20220809083325.1906594-1-fontaine.fabrice@gmail.com
State Rejected
Headers show
Series [1/2] Revert "utils/genrandconfig: add refpolicy custom git handling" | expand

Commit Message

Fabrice Fontaine Aug. 9, 2022, 8:33 a.m. UTC
This reverts commit 0f3115b2ca9fbdcf7a4e02aba45104f2d423fdb8 which is
broken because of a missing space and doesn't seem the best solution
afterall.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 utils/genrandconfig | 7 -------
 1 file changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/utils/genrandconfig b/utils/genrandconfig
index a56f03681a..75757917c2 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -535,13 +535,6 @@  def fixup_config(sysinfo, configfile):
         if 'BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT=y\n' in configlines:
             return False
 
-   if 'BR2_PACKAGE_REFPOLICY=y\n' in configlines and \
-       'BR2_PACKAGE_REFPOLICY_CUSTOM_GIT=y\n' in configlines and \
-       'BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL=""\n' in configlines:
-        configlines.remove('BR2_PACKAGE_REFPOLICY_CUSTOM_GIT=y\n')
-        configlines.append('BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION=y\n')
-        configlines.remove('BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL=""\n')
-
     if 'BR2_PACKAGE_XVISOR=y\n' in configlines and \
        'BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG=y\n' in configlines and \
        'BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE=""\n' in configlines: