Packaging: Remove chkconfig dependency (#65887)

Remove chkconfig dependency

This dependency prevents installation on recent opensuse as they no longer provide chkconfig.

As far as I can tell we don't use it anywhere so it shouldn't be required under any modern linux using systemd,
This commit is contained in:
Dan Cech 2023-04-04 21:05:35 +10:00 committed by GitHub
parent bf5f61319a
commit d072b62960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -771,8 +771,7 @@ func realPackageVariant(ctx context.Context, v config.Variant, edition config.Ed
defaultFileSrc: filepath.Join(grafanaDir, "packaging", "rpm", "sysconfig", "grafana-server"),
systemdFileSrc: filepath.Join(grafanaDir, "packaging", "rpm", "systemd", "grafana-server.service"),
wrapperFilePath: filepath.Join(grafanaDir, "packaging", "wrappers"),
// chkconfig is depended on since our systemd service wraps a SysV init script, and that requires chkconfig
depends: []string{"/sbin/service", "chkconfig", "fontconfig", "freetype", "urw-fonts"},
depends: []string{"/sbin/service", "fontconfig", "freetype", "urw-fonts"},
}); err != nil {
return err
}