Skip to content

Commit

Permalink
Merge pull request #733 from KeerthanaAP/extension_fix
Browse files Browse the repository at this point in the history
Added fix for handling the file extensions in the boot directory.
  • Loading branch information
ppc64le-cloud-bot authored Feb 27, 2025
2 parents 5f11d6f + f7d7e23 commit b07daac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/image/qcow2ova/prep/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func prepare(mnt, volume, dist, rhnuser, rhnpasswd, rootpasswd string) error {
}

// Verify /boot is mounted properly and files are present.
bootDirFiles := []string{"config-*.ppc64le", "efi", "grub2", "initramfs-*.ppc64le.img", "loader", "symvers-*.ppc64le.gz", "System.map-*.ppc64le", "vmlinuz-*.ppc64le"}
bootDirFiles := []string{"config-*.ppc64le", "efi", "grub2", "initramfs-*.ppc64le.img", "loader", "symvers-*.ppc64le.*", "System.map-*.ppc64le", "vmlinuz-*.ppc64le"}
for _, file := range bootDirFiles {
exist, err := checkFileExists(filepath.Join(mnt, "boot", file))
if err != nil {
Expand Down

0 comments on commit b07daac

Please sign in to comment.