diff options
author | Masahiro Yamada | 2019-05-10 18:56:01 +0200 |
---|---|---|
committer | Masahiro Yamada | 2019-05-10 19:16:21 +0200 |
commit | 580c5b3e1b8bc49dd5452c8a65a72452c534b4b5 (patch) | |
tree | b8d2bad59db23ebcf1f3b17c2b6936379049138f /init/init_task.c | |
parent | kconfig: do not write .config if the content is the same (diff) | |
download | kernel-qcow2-linux-580c5b3e1b8bc49dd5452c8a65a72452c534b4b5.tar.gz kernel-qcow2-linux-580c5b3e1b8bc49dd5452c8a65a72452c534b4b5.tar.xz kernel-qcow2-linux-580c5b3e1b8bc49dd5452c8a65a72452c534b4b5.zip |
kconfig: make parent directories for the saved .config as needed
With menuconfig / nconfig, users can input any file path from the
"Save" menu, but it fails if the parent directory does not exist.
Why not create the parent directory automatically. I think this is
a user-friendly behavior.
I changed the error messages in menuconfig / nconfig.
"Nonexistent directory" is no longer the most likely reason of the
failure. Perhaps, the user specified the existing directory, or
attempted to write to the location without write permission.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions