[Buildroot] [git commit] package/mender: fixing init script naming

Peter Korsgaard peter at korsgaard.com
Tue Feb 5 14:37:05 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=097e85abfca75179a4bd889997ff3d9458af2fb6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Commit f88947c2fe2d (package/mender: adding systemv init file) added an init
script, but the installation logic referred to S04mender instead of S42mender.

Update the installation logic to match the file name.

Signed-off-by: Angelo Compagnucci <angelo at amarulasolutions.com>
[Peter: expand commit message description]
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/mender/mender.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/mender/mender.mk b/package/mender/mender.mk
index 0d719382f8..ae5bcb8101 100644
--- a/package/mender/mender.mk
+++ b/package/mender/mender.mk
@@ -70,8 +70,8 @@ define MENDER_INSTALL_INIT_SYSTEMD
 endef
 
 define MENDER_INSTALL_INIT_SYSV
-	$(INSTALL) -D -m 755 package/mender/S04mender \
-		$(TARGET_DIR)/etc/init.d/S04mender
+	$(INSTALL) -D -m 755 package/mender/S42mender \
+		$(TARGET_DIR)/etc/init.d/S42mender
 endef
 
 $(eval $(golang-package))


More information about the buildroot mailing list