[Buildroot] [git commit] package/htpdate: fix shellcheck SC1090

Julien Olivain ju.o at free.fr
Sat Sep 13 14:58:31 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=1f2b459b56b117e97164feb397ad14435717d524
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Using /dev/null as file source because the package doesn't provide a default
systemv service configuration file.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
[Julien: remove S43htpdate .checkpackageignore entry
  to fix check-package error
]
Signed-off-by: Julien Olivain <ju.o at free.fr>
---
 .checkpackageignore        | 1 -
 package/htpdate/S43htpdate | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.checkpackageignore b/.checkpackageignore
index a1f87db79a..e5bf14ae73 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -489,7 +489,6 @@ package/haveged/S21haveged Shellcheck lib_sysv.Variables
 package/heirloom-mailx/0001-fix-libressl-support.patch lib_patch.Upstream
 package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch lib_patch.Upstream
 package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch lib_patch.Upstream
-package/htpdate/S43htpdate Shellcheck
 package/i2pd/S99i2pd Shellcheck lib_sysv.Indent lib_sysv.Variables
 package/i7z/0001-fix-build-with-gcc-10.patch lib_patch.Upstream
 package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch lib_patch.Upstream
diff --git a/package/htpdate/S43htpdate b/package/htpdate/S43htpdate
index 5971d70639..22e5e6c803 100644
--- a/package/htpdate/S43htpdate
+++ b/package/htpdate/S43htpdate
@@ -4,6 +4,8 @@ DAEMON="htpdate"
 PIDFILE="/var/run/$DAEMON.pid"
 
 HTPDATE_ARGS="-a -s -t https://google.com"
+
+# shellcheck source=/dev/null
 test -r "/etc/default/$DAEMON" && . "/etc/default/$DAEMON"
 
 start() {


More information about the buildroot mailing list