From 8086ed440da80de3b14811423ee11a1fcf01b2fa Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Tue, 10 Sep 2024 11:51:08 -0400 Subject: [PATCH] fedora-iot: move bootupd to f41 Signed-off-by: Paul Whalen --- pkg/distro/fedora/package_sets.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkg/distro/fedora/package_sets.go b/pkg/distro/fedora/package_sets.go index c257e440e9..7a111162fd 100644 --- a/pkg/distro/fedora/package_sets.go +++ b/pkg/distro/fedora/package_sets.go @@ -182,13 +182,14 @@ func iotCommitPackageSet(t *imageType) rpmmd.PackageSet { "podman-plugins", // deprecated in podman 5 }, }) - } else { - ps = ps.Append(rpmmd.PackageSet{ - Include: []string{ - "bootupd", // added in F40+ - }, - }) } + if common.VersionLessThan(t.arch.distro.osVersion, "41") { + ps = ps.Append(rpmmd.PackageSet{ + Include: []string{ + "bootupd", // Added in F41+ + }, + }) + } return ps }