Project

General

Profile

action #52817

Updated by whdu almost 5 years ago

We don't use existing image generated by `create_hdd_textmode` in functional job group because we would like to test "kernel fips mode" during installation. 
 Now, there is `fips_env_tests_setup` which create a default+WE image. But WE is not necessary for other tests except **seahorse** and **hexchat**. 

 This proposal is to only generate a basic textmode image and leave WE installation to a test suite dedicated on X11 testing. I believe by this approach the cases running speed could be improved. 

 The variable **FIPS** in `lib/bootloader_setup.pm` will also be renamed to **FIPS_INSTALLATION**, and a section to verify FIPS kernel mode environment will be added to `tests/fips/fips_setup.pm`. 

 In case "FIPS kernel mode" may not work caused by fips=1 bugs, it could also be switched to "fips single signal mode" with variable "FIPS_ENV_MODE=1". Which has already been implemented. Our additional work is to make `lib/main_common.pm` detect the mode type by itself so we could only set FIPS_ENV_MODE=1 at one place. 

 Consider to make this change with PR#52808 and PR#52805 together.

Back