-
-
Notifications
You must be signed in to change notification settings - Fork 778
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Update build.func: Add defaults to Advanced mode (#1548)
* [core] Update build.func: Add defaults to Advanced mode * Change method * Fix copy mistake
- Loading branch information
1 parent
c9eb13a
commit 81c327c
Showing
1 changed file
with
138 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81c327c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the addition of the “default version,” the installer breaks if you want to install a different operating system.
From what I understand of the code, if the default is “Debian 12” and I choose “Ubuntu,” the next menu cannot be produced because it is still considering the “default version” (which in this case is 12), and that option is not available for Ubuntu. The same happens if the default is, for example, Ubuntu 22.04. If I choose Debian, there is no “22.04” condition in the version selection menu for Debian.
So, if the chosen OS is other than the default, the code should stop considering the default values.