Skip to contentSkip to conversation

utils/genrandconfig: fix ext2 config variable

PATCH Applied James Hilliard 2 participants 2 messages May 1, 2022 – May 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils/genrandconfig: fix ext2 config variable

This should have been BR2_TARGET_ROOTFS_EXT2 as the BR2_TARGET_ROOTFS_EXT2_GEN variable is an integer variable used to indicate the ext2/ext3/ext4 variant.

Fixes:
- http://autobuild.buildroot.net/results/5d7/5d7833212bd8a2b575945f848d8c91dabe7d3c30

---
 utils/genrandconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/genrandconfig +1 -1
index ab1f6f43b1..70af84f002 100755
@@ -443,7 +443,7 @@ def fixup_config(sysinfo, configfile):
         configlines.remove('BR2_TARGET_OPTEE_OS=y\n')
         configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n')
 
-    if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \
+    if 'BR2_TARGET_ROOTFS_EXT2=y\n' in configlines and \
        'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines:
         configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n')
         configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE)
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · James Hilliard

This should have been BR2_TARGET_ROOTFS_EXT2 as the BR2_TARGET_ROOTFS_EXT2_GEN variable is an integer variable used to indicate the ext2/ext3/ext4 variant.

Fixes:
- http://autobuild.buildroot.net/results/5d7/5d7833212bd8a2b575945f848d8c91dabe7d3c30

Applied to master, thanks.

Regards,
Arnout

Quoted 9 lines
---
  utils/genrandconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
utils/genrandconfig +0 -0
index ab1f6f43b1..70af84f002 100755

utils/genrandconfig def fixup_config(sysinfo, configfile): · line 449

Quoted 8 lines
utils/genrandconfig +1 -1
@@ -443,7 +443,7 @@ def fixup_config(sysinfo, configfile):
          configlines.remove('BR2_TARGET_OPTEE_OS=y\n')
          configlines.remove('BR2_TARGET_OPTEE_OS_PLATFORM=""\n')
 
-    if 'BR2_TARGET_ROOTFS_EXT2_GEN=y\n' in configlines and \
+    if 'BR2_TARGET_ROOTFS_EXT2=y\n' in configlines and \
         'BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n' in configlines:
          configlines.remove('BR2_TARGET_ROOTFS_EXT2_SIZE="60M"\n')
          configlines.append('BR2_TARGET_ROOTFS_EXT2_SIZE="%s"\n' % ROOTFS_SIZE)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot