Depend on util-linux-extra or older util-linux
authorMichael Prokop <mika@grml.org>
Fri, 4 Aug 2023 14:52:24 +0000 (16:52 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 4 Aug 2023 14:52:24 +0000 (16:52 +0200)
As of util-linux v2.38-1, the hwclock binary was moved
to the separate util-linux-extra package. So either depend
on util-linux-extra (available with bookworm and newer),
or older util-linux (for releases before bookworm).

Fixes:

| [ FAIL ] Problem running hwclock: config_time:36: command not found: hwclock

debian/control

index dff1c04..2230934 100644 (file)
@@ -31,6 +31,7 @@ Depends:
  rsync,
  rsyslog | system-log-daemon,
  udev,
+ util-linux-extra | util-linux (<= 2.38-1),
  zsh,
  ${misc:Depends},
  ${shlibs:Depends},