RE: [PATCH] Use short unix-style option instead of --longname.
From: yamada.masahiro
Date: Wed Jul 04 2018 - 22:12:57 EST
Hi.
> -----Original Message-----
> From: Rob Landley [mailto:rob@xxxxxxxxxxx]
> Sent: Thursday, July 05, 2018 4:06 AM
> To: trivial@xxxxxxxxxx; Yamada, Masahiro/åç çå
> <yamada.masahiro@xxxxxxxxxxxxx>; Kees Cook <keescook@xxxxxxxxxxxx>; Ulf
> Magnusson <ulfalizer@xxxxxxxxx>
> Subject: [PATCH] Use short unix-style option instead of --longname.
>
> From: Rob Landley <rob@xxxxxxxxxxx>
>
> Use short unix-style option instead of --longname.
This is the repeat of the subject.
Instead, could you describe the reason of this patch here please?
> Signed-off-by: Rob Landley <rob@xxxxxxxxxxx>
> ---
>
> Avoids warning messages with the latest release of toybox, which never
> bothered
> to implement the --longopts nothing was using.
I am fine with this patch,
but I want the information below the --- line
to be recorded in git.
I think WHY is the most important part in the commit log.
If the commit log only mentions 'Use short unix-style option instead of --longname'
it is not easy to know why this commit is necessary.
> init/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index 041f3a0..192d400 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"