diff --git a/service/lib/agama/storage/bootloader.rb b/service/lib/agama/storage/bootloader.rb index 190649c915..d556f3ec97 100644 --- a/service/lib/agama/storage/bootloader.rb +++ b/service/lib/agama/storage/bootloader.rb @@ -38,7 +38,7 @@ def initialize(logger) end def write_config - bootloader = Bootloader::BootloaderFactory.current + bootloader = ::Bootloader::BootloaderFactory.current case @config.force_user_input when true # grub2 based bootloaders diff --git a/service/run_tests_in_container.sh b/service/run_tests_in_container.sh index 429f2aa6ce..c298048703 100644 --- a/service/run_tests_in_container.sh +++ b/service/run_tests_in_container.sh @@ -4,7 +4,7 @@ set -ex SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) podman create -ti --rm --entrypoint '["sh", "-c"]' --name agama_ruby_tests -v $SCRIPT_DIR/..:/checkout registry.opensuse.org/yast/head/containers_tumbleweed/yast-ruby sh podman start agama_ruby_tests -podman exec agama_ruby_tests zypper --non-interactive install yast2-iscsi-client ruby3.2-rubygem-eventmachine +podman exec agama_ruby_tests zypper --non-interactive install yast2-iscsi-client yast2-bootloader ruby3.3-rubygem-eventmachine if podman exec --workdir /checkout/service agama_ruby_tests rake test:unit; then if [ "$KEEP_RUNNING" != "1" ]; then podman stop agama_ruby_tests