|
|
596669 |
From 30f4b0753691841e232701a3ad17f018e8799ebe Mon Sep 17 00:00:00 2001
|
|
|
596669 |
From: Jakub Rusz <jrusz@redhat.com>
|
|
|
596669 |
Date: Mon, 20 Mar 2023 15:29:42 +0100
|
|
|
596669 |
Subject: [PATCH 1/3] tests/ostree: Change centos-8 BOOT_LOCATION to a working
|
|
|
596669 |
boot.iso
|
|
|
596669 |
|
|
|
596669 |
The latest boot.iso stopped working. Changing to an older version to
|
|
|
596669 |
unblock CI. RHBZ#2180024 opened with this issue.
|
|
|
596669 |
---
|
|
|
596669 |
test/cases/ostree-rebase-bios.sh | 4 ++--
|
|
|
596669 |
test/cases/ostree-rebase-uefi.sh | 4 ++--
|
|
|
596669 |
test/cases/ostree.sh | 4 ++--
|
|
|
596669 |
3 files changed, 6 insertions(+), 6 deletions(-)
|
|
|
596669 |
|
|
|
596669 |
diff --git a/test/cases/ostree-rebase-bios.sh b/test/cases/ostree-rebase-bios.sh
|
|
|
596669 |
index 702b506c8..7390c2a0e 100755
|
|
|
596669 |
--- a/test/cases/ostree-rebase-bios.sh
|
|
|
596669 |
+++ b/test/cases/ostree-rebase-bios.sh
|
|
|
596669 |
@@ -108,7 +108,7 @@ case "${ID}-${VERSION_ID}" in
|
|
|
596669 |
"centos-8")
|
|
|
596669 |
OSTREE_REF="centos/8/${ARCH}/edge"
|
|
|
596669 |
OS_VARIANT="centos8"
|
|
|
596669 |
- BOOT_LOCATION="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/"
|
|
|
596669 |
+ BOOT_LOCATION="https://composes.centos.org/latest-CentOS-Stream-8/compose/BaseOS/x86_64/os/"
|
|
|
596669 |
PARENT_REF="centos/8/${ARCH}/edge"
|
|
|
596669 |
KERNEL_RT_PKG="kernel-rt-core"
|
|
|
596669 |
;;
|
|
|
596669 |
@@ -356,7 +356,7 @@ echo -e 'admin\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
|
|
|
596669 |
STOPHERE
|
|
|
596669 |
|
|
|
596669 |
# Get the boot.iso from BOOT_LOCATION
|
|
|
596669 |
-curl -O "$BOOT_LOCATION"/images/boot.iso
|
|
|
596669 |
+curl -O "$BOOT_LOCATION"images/boot.iso
|
|
|
596669 |
sudo mv boot.iso /var/lib/libvirt/images
|
|
|
596669 |
LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso"
|
|
|
596669 |
|
|
|
596669 |
diff --git a/test/cases/ostree-rebase-uefi.sh b/test/cases/ostree-rebase-uefi.sh
|
|
|
596669 |
index c0697f543..7c3fd7721 100755
|
|
|
596669 |
--- a/test/cases/ostree-rebase-uefi.sh
|
|
|
596669 |
+++ b/test/cases/ostree-rebase-uefi.sh
|
|
|
596669 |
@@ -108,7 +108,7 @@ case "${ID}-${VERSION_ID}" in
|
|
|
596669 |
"centos-8")
|
|
|
596669 |
OSTREE_REF="centos/8/${ARCH}/edge"
|
|
|
596669 |
OS_VARIANT="centos8"
|
|
|
596669 |
- BOOT_LOCATION="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/"
|
|
|
596669 |
+ BOOT_LOCATION="https://composes.centos.org/latest-CentOS-Stream-8/compose/BaseOS/x86_64/os/"
|
|
|
596669 |
PARENT_REF="centos/8/${ARCH}/edge"
|
|
|
596669 |
KERNEL_RT_PKG="kernel-rt-core"
|
|
|
596669 |
;;
|
|
|
596669 |
@@ -358,7 +358,7 @@ LIBVIRT_IMAGE_PATH=/var/lib/libvirt/images/${IMAGE_KEY}-uefi.qcow2
|
|
|
596669 |
sudo qemu-img create -f qcow2 "${LIBVIRT_IMAGE_PATH}" 20G
|
|
|
596669 |
|
|
|
596669 |
# Get the boot.iso from BOOT_LOCATION
|
|
|
596669 |
-curl -O "$BOOT_LOCATION"/images/boot.iso
|
|
|
596669 |
+curl -O "$BOOT_LOCATION"images/boot.iso
|
|
|
596669 |
sudo mv boot.iso /var/lib/libvirt/images
|
|
|
596669 |
LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso"
|
|
|
596669 |
|
|
|
596669 |
diff --git a/test/cases/ostree.sh b/test/cases/ostree.sh
|
|
|
596669 |
index f2841d953..0cfe6d02a 100755
|
|
|
596669 |
--- a/test/cases/ostree.sh
|
|
|
596669 |
+++ b/test/cases/ostree.sh
|
|
|
596669 |
@@ -104,7 +104,7 @@ case "${ID}-${VERSION_ID}" in
|
|
|
596669 |
OSTREE_REF="centos/8/${ARCH}/edge"
|
|
|
596669 |
OS_VARIANT="centos8"
|
|
|
596669 |
USER_IN_COMMIT="true"
|
|
|
596669 |
- BOOT_LOCATION="http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/"
|
|
|
596669 |
+ BOOT_LOCATION="https://composes.centos.org/latest-CentOS-Stream-8/compose/BaseOS/x86_64/os/"
|
|
|
596669 |
EMBEDED_CONTAINER="true"
|
|
|
596669 |
FIREWALL_FEATURE="false"
|
|
|
596669 |
DIRS_FILES_CUSTOMIZATION="true"
|
|
|
596669 |
@@ -486,7 +486,7 @@ if [[ "${USER_IN_COMMIT}" == "true" ]]; then
|
|
|
596669 |
fi
|
|
|
596669 |
|
|
|
596669 |
# Get the boot.iso from BOOT_LOCATION
|
|
|
596669 |
-curl -O "$BOOT_LOCATION"/images/boot.iso
|
|
|
596669 |
+curl -O "$BOOT_LOCATION"images/boot.iso
|
|
|
596669 |
sudo mv boot.iso /var/lib/libvirt/images
|
|
|
596669 |
LOCAL_BOOT_LOCATION="/var/lib/libvirt/images/boot.iso"
|
|
|
596669 |
|
|
|
596669 |
--
|
|
|
596669 |
2.39.2
|
|
|
596669 |
|