Skip to contentSkip to conversation

linux/linux.mk: fix commit d06dca38bb0373a13736a349f7795713458a2188 - remove extra bracket

PATCH In review Andreas Ziegler 2 participants 2 messages May 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/linux.mk: fix commit d06dca38bb0373a13736a349f7795713458a2188 - remove extra bracket

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:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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)'

---
 linux/linux.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux/linux.mk +1 -1
index 7c941fa339..cc36b5251d 100644
@@ -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
 
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andreas" == Andreas Ziegler <[email protected]> writes:

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

Quoted 8 lines

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

Fixes:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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)'

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot