From 2e7fc5fa1449dc89a3f9903a89ea5bb8774941bf Mon Sep 17 00:00:00 2001
From: Vivek Kumar Dutta <vivek.dutta@iopsys.eu>
Date: Tue, 5 Nov 2024 18:51:15 +0530
Subject: [PATCH] bbfdm: prepone microservice startup

- Prepone dm microservice startup to avoid usp schema registration race
  condition
---
 bbfdm/Makefile                        | 4 ++--
 bbfdm/files/etc/init.d/bbfdm.services | 2 +-
 bbfdm/files/etc/init.d/bbfdmd         | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bbfdm/Makefile b/bbfdm/Makefile
index 9ef0da6ce..f88fe4da6 100644
--- a/bbfdm/Makefile
+++ b/bbfdm/Makefile
@@ -5,14 +5,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bbfdm
-PKG_VERSION:=1.12.18
+PKG_VERSION:=1.12.19
 
 USE_LOCAL:=0
 ifneq ($(USE_LOCAL),1)
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/bbfdm.git
 PKG_SOURCE_VERSION:=7ebe4039ab4d51443777862bbe4c7c601187f930
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_MIRROR_HASH:=skip
 endif
 
diff --git a/bbfdm/files/etc/init.d/bbfdm.services b/bbfdm/files/etc/init.d/bbfdm.services
index 7984e6f36..07e44dd84 100644
--- a/bbfdm/files/etc/init.d/bbfdm.services
+++ b/bbfdm/files/etc/init.d/bbfdm.services
@@ -1,6 +1,6 @@
 #!/bin/sh /etc/rc.common
 
-START=85
+START=60
 STOP=8
 
 USE_PROCD=1
diff --git a/bbfdm/files/etc/init.d/bbfdmd b/bbfdm/files/etc/init.d/bbfdmd
index 5af07c856..39c3f3e72 100644
--- a/bbfdm/files/etc/init.d/bbfdmd
+++ b/bbfdm/files/etc/init.d/bbfdmd
@@ -1,6 +1,6 @@
 #!/bin/sh /etc/rc.common
 
-START=90
+START=97
 STOP=10
 
 USE_PROCD=1
-- 
GitLab