Changeset 94346 in vbox
- Timestamp:
- Mar 24, 2022 7:43:46 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp
r94345 r94346 1139 1139 { 1140 1140 /* 1141 * Unlike Redhats Debian variants define boot menu not in isolinux.cfg but some other1141 * Unlike Redhats, Debian variants define boot menu not in isolinux.cfg but some other 1142 1142 * menu configuration files. They are mostly called txt.cfg and/or menu.cfg (and possibly some other names) 1143 * In this functions we attempt to set menu's default label sto the one containing the word 'install'.1143 * In this functions we attempt to set menu's default label (default menu item) to the one containing the word 'install'. 1144 1144 */ 1145 1145 try … … 1154 1154 if (!RTStrIStartsWith(rContent.c_str(), "label")) 1155 1155 continue; 1156 /* Use the first menu item starting with word label and havethe word 'install'.*/1156 /* Use the first menu item starting with word label and includes the word 'install'.*/ 1157 1157 if (RTStrIStr(rContent.c_str(), "install") != NULL) 1158 1158 { 1159 1160 1159 /* Set the content of the line. It looks like multiple word labels (like label Debian Installer) 1161 1160 * does not work very well in some cases. */ … … 1170 1169 } 1171 1170 if (!fLabelFound) 1172 return VERR_MISSING;1171 return E_FAIL; 1173 1172 /* Modify the content of default lines so that they point to label we have chosen above. */ 1174 1173 std::vector<size_t> vecDefaultLineNumbers = pEditor->findTemplate("default", RTCString::CaseInsensitive);
Note:
See TracChangeset
for help on using the changeset viewer.