make menuconfig broken
I dont know if it was not reported yet or not fixed yet.
It apeared about in version 2.6.20.xx or there about so it is broken already awhile.
Problem:
changing settings manualy seem to work. Where problem apears is that loading alternate config file changes settings but on exit '.config' file is not writen and one is advised to run make which bombs.
Also window: Do you wish to save your new kernel configuration ?
<ESC><ESC> to continue <YES> <NO>
does not apear.
Solution for me is before exit to change content of window (Save an Alternate Configuration File) to .config. And only then file .config is writen.
It seems that contents of bouth Load and save Alt Conf File are set to same using Load. It may actualy write to alternate file instead to .config
One which I'm compiling at present is 2.6.23.14 version
Regards Michael
Hi Michal.
Thanks for your report.
Quoted 11 lines · Michal Zachar
I dont know if it was not reported yet or not fixed yet.
It apeared about in version 2.6.20.xx or there about so it is broken already awhile.
Problem:
changing settings manualy seem to work. Where problem apears is that loading alternate config file changes settings but on exit '.config' file is not writen and one is advised to run make which bombs.
Quoted 5 lines
Also window: Do you wish to save your new kernel configuration ?
<ESC><ESC> to continue <YES> <NO>does not apear.
This is a bug - we should notice the config changed.
Quoted 6 lines
Solution for me is before exit to change content of window (Save an Alternate Configuration File) to .config. And only then file .config is writen.
It seems that contents of bouth Load and save Alt Conf File are set to same using Load. It may actualy write to alternate file instead to .config
And this is a feature not a bug.
I am well aware that this is a change in behaviour but if you looks at top left corner you can see the current filename and is thus told what menuconfig use as default filename.
Sam
I fixed the bug like this:
Quoted 1 line
From
7c280820a7a66abbb6b3b3f82c3753c7564600f2Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <[email protected]>
Date: Sat, 2 Feb 2008 20:44:09 +0100
Subject: [PATCH] kconfig: mark config as changed when loading an alternate config
Michal Zachar <[email protected]> reported that menuconfig did not save the new config when loading an alternate config unless he altered it manually.
Mark config as changed upon load of alternate config fixed this.
--- scripts/kconfig/mconf.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
scripts/kconfig/mconf.c +1 -0
@@ -821,6 +821,7 @@ static void conf_load(void)return ;if (!conf_read (dialog_input_result)) {set_config_filename (dialog_input_result); +sym_set_change_count (1 );return ; }show_textbox (NULL ,_ ("File does not exist!" ),5 ,38 );
Signature · 1 line
1.5.4.rc3.14.g44397