go.mod: update osbuild/images to v0.118.0

Replace ifcfg with net-lib for EL10 and F42 installers.

In RHEL 10 and Fedora 42, the ifcfg module was replaced by net-lib.

This PR removes ifcfg from common anaconda dracut stage modules and adds
either ifcfg or net-lib to each installer based on distro version.
This commit is contained in:
Achilleas Koutsou 2025-02-19 15:27:09 +01:00 committed by Tomáš Hozza
parent 2fc64aeaca
commit 5817db95f8
43 changed files with 900 additions and 307 deletions

View file

@ -0,0 +1,25 @@
package platform
import (
"github.com/osbuild/images/pkg/arch"
)
type RISCV64 struct {
BasePlatform
}
func (p *RISCV64) GetArch() arch.Arch {
return arch.ARCH_RISCV64
}
func (p *RISCV64) GetPackages() []string {
packages := p.BasePlatform.FirmwarePackages
return packages
}
func (p *RISCV64) GetBuildPackages() []string {
var packages []string
return packages
}