Skip to contentSkip to conversation

bats: fix qa issue when multilib eanbled

PATCH New kai 1 participant 1 message Jul 1, 2021

lore
Share & tools
lore

kai

author
#0 lore raw

PATCH 1/1 bats: fix qa issue when multilib eanbled

From: Kai Kang <[email protected]>

Fix qa issue for bats when multilib is enabled:

| ERROR: bats-1.3.0-r0 do_package: QA Issue: bats: Files/directories
were installed but not shipped in any package:

|  /usr/lib
|  /usr/lib/bats-core
|  /usr/lib/bats-core/formatter.bash
|  /usr/lib/bats-core/test_functions.bash
---
 meta-oe/recipes-test/bats/bats_1.3.0.bb       |  3 +-
 .../0001-install.sh-consider-multilib.patch   | 43 +++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-test/bats/files/0001-install.sh-consider-multilib.patch
meta-oe/recipes-test/bats/bats_1.3.0.bb +2 -1
index 8190a5e3a..39a02733f 100644
@@ -7,6 +7,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"
 
 SRC_URI = "git://github.com/bats-core/bats-core.git \
+           file://0001-install.sh-consider-multilib.patch \
           "
 # v1.3.0
 SRCREV = "9086c47854652f2731861b40385689c85f12103f"
@@ -15,7 +16,7 @@ S = "${WORKDIR}/git"
 
 do_install() {
 	# Just a bunch of bash scripts to install
-	${S}/install.sh ${D}${prefix}
+	${S}/install.sh ${D}${prefix} ${baselib}
 }
 
 RDEPENDS_${PN} = "bash"
meta-oe/recipes-test/bats/files/0001-install.sh-consider-multilib.patch new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.17.1