Menuselect via cli not disabling options


I am building a install script for my system and to eliminate user interaction I am trying to use the command line version of menuselect as described in .

However, after I run menuselect/menuselect --disable format_g729 menuselect.makeopts , when I use the --list-options command, it still shows + format_g729 and if I install asterisk, format_g729 is compiled and installed.

Is anyone else having this issue or know how to solve it?


Executing menuselect with --list-options appears to reset the state of things. Try doing --disable and then building without executing --list-options, that should work.

It worked, thank you Jcolp! :smiley: