Replace OpenSUSE Leap 15.3 to OpenSUSE Leap 15.5

OpenSUSE Leap 15.3 is out of support since 2022. This patch remove the
support of OpenSUSE Leap 15.3 and replace it with the OpenSUSE Leap
15.5.
Add the grub2-x86_64-efi package in the pkg-map of the bootloader
element to allow EFI support.
Replace version 15.3 to 15.5 in every required location.
Add dracut-mkinitrd-deprecated package in package-installs.yaml of
the opensuse element to support the usage of the deprecated mkinitrd
command from the zypper element.

Change-Id: Ie903ffcf229d8e32374c4a1346b5295990c83ff4
This commit is contained in:
Xavier Coulon 2024-01-05 10:54:23 +01:00
parent 72513f6bdf
commit b242f913a8
7 changed files with 10 additions and 7 deletions

View File

@ -13,7 +13,8 @@
"dkms_package": "",
"extlinux": "syslinux",
"grub-pc": "grub2",
"grub-efi": "grub2"
"grub-efi": "grub2",
"grub-efi-amd64": "grub2-x86_64-efi"
},
"redhat": {
"extlinux": "syslinux-extlinux",

View File

@ -14,7 +14,7 @@ Environment Variables
DIB_RELEASE
:Required: No
:Default: 15.3
:Default: 15.5
:Description: Set the desired openSUSE release.
DIB_CLOUD_IMAGES

View File

@ -1,10 +1,10 @@
export DISTRO_NAME=opensuse
export DIB_RELEASE=${DIB_RELEASE:-15.3}
export DIB_RELEASE=${DIB_RELEASE:-15.5}
export EFI_BOOT_DIR="EFI/opensuse"
export DIB_OPENSUSE_PATTERNS=patterns-openSUSE-base
export DIB_INIT_SYSTEM=systemd
case ${DIB_RELEASE} in
15.3) export OPENSUSE_REPO_DIR=openSUSE_Leap_${DIB_RELEASE} ;;
15.5) export OPENSUSE_REPO_DIR=openSUSE_Leap_${DIB_RELEASE} ;;
*) echo "Unsupported openSUSE release: ${DIB_RELEASE}"; exit 1 ;;
esac

View File

@ -4,3 +4,5 @@ sudo:
kernel-devel:
# lsb-release is not included by default.
lsb-release:
# Compatibility for zypper element scripts using deprecated mkinitrd
dracut-mkinitrd-deprecated:

View File

@ -1 +1 @@
Verify we can build an openSUSE Leap 15.3 image.
Verify we can build an openSUSE Leap 15.5 image.

View File

@ -1 +1 @@
export DIB_RELEASE=15.3
export DIB_RELEASE=15.5

View File

@ -104,7 +104,7 @@ versions:
* ``openeuler-minimal``: 22.03-LTS
* ``centos`` : (image-based build) 8-stream and 9-stream
* ``fedora`` : (image-based build) latest
* ``opensuse`` : 15.3
* ``opensuse`` : 15.5
* ``ubuntu`` : Bionic and Focal
For ARM64, we also run functional tests on