From cf8a82f2d7a44365625530bef2246d4db31f4075 Mon Sep 17 00:00:00 2001 From: Harika Date: Wed, 4 Oct 2023 12:43:05 -0700 Subject: [PATCH 1/2] Fix copy SNP Kernel (Host&Guest) packages into Separate folders for Non-Debian copy host kernel packages and guest kernel packages into separate folders for RHEL,Fedora, etc (Non-Debian OSes) --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9654329d88ab..1e148eece514 100755 --- a/build.sh +++ b/build.sh @@ -86,7 +86,11 @@ if [[ "$BUILD_PACKAGE" = "1" ]]; then cp linux/linux-*-guest-*.deb $OUTPUT_DIR/linux/guest -v cp linux/linux-*-host-*.deb $OUTPUT_DIR/linux/host -v else - cp linux/kernel-*.rpm $OUTPUT_DIR/linux -v + #RHEL and Fedora + #cp linux/kernel-*.rpm $OUTPUT_DIR/linux -v + cp linux/kernel-*host*.rpm $OUTPUT_DIR/linux/host -v + cp linux/kernel-*guest*.rpm $OUTPUT_DIR/linux/guest -v + fi cp launch-qemu.sh ${OUTPUT_DIR} -v From 97e100995fb8f65a81830d025d475bc187386a09 Mon Sep 17 00:00:00 2001 From: Harika Date: Thu, 29 Feb 2024 21:38:34 -0800 Subject: [PATCH 2/2] Fedora & RHEL Virtualization Package(qemu) Fix @virt group package is not present in latest Fedora (Fedora 38 and above) and RHEL 9.3 manual pages for qemu package(in ubuntu) and qemu-kvm package (in fedora and redhat) matches. Signed-off-by: Harika --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 3dd4d8630aaa..98263ed8474f 100755 --- a/install.sh +++ b/install.sh @@ -6,7 +6,7 @@ if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then apt-get -y install qemu ovmf else - dnf install @virt edk2-ovmf -y + dnf install qemu-kvm edk2-ovmf -y fi if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then