[Buildroot] [git commit] linux/linux.mk: fix commit d06dca38bb0373a13736a349f7795713458a2188 - remove extra bracket

Peter Korsgaard peter at korsgaard.com
Fri May 12 15:23:11 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=142e574d5f57fd44a9bd5cc9fc39cfcff5b3da6a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Commit d06dca38bb0373a13736a349f7795713458a2188 (linux: cleanup
kconfig fixup processing) moved the initramfs setup out of an
enclosing statement but kept the closing bracket.

Remove the extra bracket to fix a syntax error in sed processing.

Fixes:
  >>> linux 6.4-rc1 Updating kernel config with fixups
  /bin/bash: -c: line 1: syntax error near unexpected token `)'
  /bin/bash: -c: line 1: `/usr/bin/sed -i -e '/^\(# \)\?CONFIG_INITRAMFS_ROOT_GID\>/d' /home/data/buildroot.experimental/build/linux-6.4-rc1//.config && echo 'CONFIG_INITRAMFS_ROOT_GID=0' >> /home/data/buildroot.experimental/build/linux-6.4-rc1//.config)'

Signed-off-by: Andreas Ziegler <br015 at umbiko.net>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 linux/linux.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 7c941fa339..cc36b5251d 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -376,7 +376,7 @@ define LINUX_KCONFIG_FIXUP_CMDS_ROOTFS_CPIO
 	$(Q)touch $(BINARIES_DIR)/rootfs.cpio
 	$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,"$${BR_BINARIES_DIR}/rootfs.cpio")
 	$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_UID,0)
-	$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0))
+	$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0)
 endef
 endif
 



More information about the buildroot mailing list