Skip to content

Commit 1f472e0

Browse files
ghostyleeedsiper
authored andcommitted
bitbake: fix compile error with wrong DEPENDS and fix packaging error with wrong systemd service file (#1606)
Signed-off-by: song li <[email protected]>
1 parent efa5ae1 commit 1f472e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

fluent-bit_1.3.0.bb

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SRCREV = "v${PV}"
2222
SRC_URI = "git://github.com/fluent/fluent-bit.git;nobranch=1"
2323

2424
S = "${WORKDIR}/git"
25-
DEPENDS = "zlib bison flex"
25+
DEPENDS = "zlib bison-native flex-native"
2626
INSANE_SKIP_${PN}-dev += "dev-elf"
2727

2828
# Use CMake 'Unix Makefiles' generator
@@ -49,5 +49,5 @@ EXTRA_OECMAKE += "-DFLB_SHARED_LIB=Off -DFLB_EXAMPLES=Off "
4949

5050
inherit cmake systemd
5151

52-
SYSTEMD_SERVICE_${PN} = "td-agent-bit.service"
52+
SYSTEMD_SERVICE_${PN} = "fluent-bit.service"
5353
TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"

fluent-bit_git.bb

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SRCREV = "${AUTOREV}"
2424
SRC_URI = "git://github.com/fluent/fluent-bit"
2525

2626
S = "${WORKDIR}/git"
27-
DEPENDS = "zlib"
27+
DEPENDS = "zlib bison-native flex-native"
2828
INSANE_SKIP_${PN}-dev += "dev-elf"
2929

3030
# Use CMake 'Unix Makefiles' generator
@@ -51,5 +51,5 @@ EXTRA_OECMAKE += "-DFLB_SHARED_LIB=Off -DFLB_EXAMPLES=Off "
5151

5252
inherit cmake systemd
5353

54-
SYSTEMD_SERVICE_${PN} = "td-agent-bit.service"
54+
SYSTEMD_SERVICE_${PN} = "fluent-bit.service"
5555
TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"

0 commit comments

Comments
 (0)