Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fedora support for snp.sh setup-host #4

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LakshmiSaiHarika
Copy link
Contributor

  1. Changed AMDSEV URL and AMDSEV branch for AMDSEV build with RHEL fixes for snp kernel package build in fedora

  2. fedora_install_dependencies for fedora library package manager dependencies for AMDSEV branch.

  3. set_grub_default_snp() using grubby tool for fedora

  4. Modified save_binary_paths() due to the differences in the location of guest kernel file path for ubuntu and fedora and differences in the boot menu for initial ram disk images(initd.img- for ubuntu and initramfs- for fedora)

tools/snp.sh Outdated
rhel_install_dependencies
;;
fedora)
echo "fedora"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this is redundant.

1. Changed AMDSEV URL and AMDSEV branch for AMDSEV build with RHEL fixes
   for snp kernel package build in fedora

2. fedora_install_dependencies for fedora library package manager dependencies for AMDSEV branch.

3. set_grub_default_snp() using grubby tool for fedora

4. Modified save_binary_paths() due to the differences in the location of guest kernel file path for ubuntu and fedora and differences in the boot menu for initial ram disk images(initd.img-<kernel-version> for ubuntu and initramfs-<kernel-version> for fedora)

Signed-off-by: Harika <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants