2018-08-08 04:10:17

by Masahiro Yamada

[permalink] [raw]
Subject: [RESEND PATCH] init/Kconfig: Use short unix-style option instead of --longname

From: Rob Landley <[email protected]>

Avoids warning messages with the latest release of toybox, which never
bothered to implement the --longopts nothing was using.

Signed-off-by: Rob Landley <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
---

This was sent to the trivial ML some time ago,
but not applied yet.

I will apply this to kbuild tree for v4.19

[[email protected]
Move the patch description under '---'
to the commit log body.
]


init/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 794a1b1..944b1fd 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2,9 +2,9 @@ config DEFCONFIG_LIST
string
depends on !UML
option defconfig_list
- default "/lib/modules/$(shell,uname --release)/.config"
+ default "/lib/modules/$(shell,uname -r)/.config"
default "/etc/kernel-config"
- default "/boot/config-$(shell,uname --release)"
+ default "/boot/config-$(shell,uname -r)"
default ARCH_DEFCONFIG
default "arch/$(ARCH)/defconfig"

--
2.7.4



2018-08-08 17:21:12

by Rob Landley

[permalink] [raw]
Subject: Re: [RESEND PATCH] init/Kconfig: Use short unix-style option instead of --longname

On 08/07/2018 11:06 PM, Masahiro Yamada wrote:
> From: Rob Landley <[email protected]>
>
> Avoids warning messages with the latest release of toybox, which never
> bothered to implement the --longopts nothing was using.
>
> Signed-off-by: Rob Landley <[email protected]>
> Signed-off-by: Masahiro Yamada <[email protected]>
> ---
>
> This was sent to the trivial ML some time ago,
> but not applied yet.
>
> I will apply this to kbuild tree for v4.19

Thank you.

(I have a pile of small kernel fixes but haven't had time+energy to follow up on
them recently.)

Rob