For now all it does is represent the name of the runner and what requirements it has of the build pipeline. Move some package definitions from the runner package set to where it belongs.
15 lines
252 B
Go
15 lines
252 B
Go
package runner
|
|
|
|
type Linux struct {
|
|
}
|
|
|
|
func (r *Linux) String() string {
|
|
return "org.osbuild.linux"
|
|
}
|
|
|
|
func (p *Linux) GetBuildPackages() []string {
|
|
return []string{
|
|
"glibc", // ldconfig
|
|
"systemd", // systemd-tmpfiles and systemd-sysusers
|
|
}
|
|
}
|