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:
parent
72513f6bdf
commit
b242f913a8
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
@ -1 +1 @@
|
||||
Verify we can build an openSUSE Leap 15.3 image.
|
||||
Verify we can build an openSUSE Leap 15.5 image.
|
||||
|
@ -1 +1 @@
|
||||
export DIB_RELEASE=15.3
|
||||
export DIB_RELEASE=15.5
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user