mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
bf5f61319a
commit
d072b62960
@ -771,8 +771,7 @@ func realPackageVariant(ctx context.Context, v config.Variant, edition config.Ed
|
|||||||
defaultFileSrc: filepath.Join(grafanaDir, "packaging", "rpm", "sysconfig", "grafana-server"),
|
defaultFileSrc: filepath.Join(grafanaDir, "packaging", "rpm", "sysconfig", "grafana-server"),
|
||||||
systemdFileSrc: filepath.Join(grafanaDir, "packaging", "rpm", "systemd", "grafana-server.service"),
|
systemdFileSrc: filepath.Join(grafanaDir, "packaging", "rpm", "systemd", "grafana-server.service"),
|
||||||
wrapperFilePath: filepath.Join(grafanaDir, "packaging", "wrappers"),
|
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", "fontconfig", "freetype", "urw-fonts"},
|
||||||
depends: []string{"/sbin/service", "chkconfig", "fontconfig", "freetype", "urw-fonts"},
|
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user