Skip to contentSkip to conversation

sysvinit: Remove ${B} assignment

PATCH New Michael Gloff 1 participant 1 message Sep 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sysvinit: Remove ${B} assignment

The VERSION variable is not set unless the top level Makefile is used as the version is derived from the Changelog.
If VERSION is not set, none of the binaries built in the sysvinit recipe will have a valid version output.
Before:
INIT: version booting
After:
INIT: version 2.96 booting

Using the top level Makefile does not cause any additional builds to occur.

---
 meta/recipes-core/sysvinit/sysvinit_2.96.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-core/sysvinit/sysvinit_2.96.bb +0 -1
index d2b85ed9c0..7358f02385 100644
@@ -25,7 +25,6 @@ SRC_URI[md5sum] = "48cebffebf2a96ab09bec14bf9976016"
 SRC_URI[sha256sum] = "2a2e26b72aa235a23ab1c8471005f890309ce1196c83fbc9413c57b9ab62b587"
 
 S = "${WORKDIR}/sysvinit-${PV}"
-B = "${S}/src"
 
 inherit update-alternatives features_check
 DEPENDS_append = " update-rc.d-native base-passwd virtual/crypt"
Signature · 1 line
2.28.0