Handle a special keyboard shortcut for starting the installation console (jsc#PM-1895, jsc#SLE-16263)
The implementation is similar to handling the debugging keyboard shortcut
Related to libyui/libyui#179
Also fixed build error in Leap 15.2/15.3:
Builtin.cc:228:17: error: 'CRYPT_GENSALT_OUTPUT_SIZE' was not declared in this scope
Fixed by using the crypt_gensalt_ra() function which does not need a static buffer, but it allocates the memory for the result itself (see man crypt_gensalt_ra)
Should be also faster as it avoids copying the content of the static buffer
Testing
Tested manually with the repositories client (uses the UI::WaitForEvent() call) and the host client (uses the UI::UserInput() call). Works fine in both cases.
Builtin.cc:228:17: error: 'CRYPT_GENSALT_OUTPUT_SIZE' was not declared in this scope
crypt_gensalt_ra()
function which does not need a static buffer, but it allocates the memory for the result itself (seeman crypt_gensalt_ra
)Testing
Tested manually with the
repositories
client (uses theUI::WaitForEvent()
call) and thehost
client (uses theUI::UserInput()
call). Works fine in both cases.