Menuselect via cli not disabling options

Hello,

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 https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options .

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?

Thanks

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: