Skip to contentSkip to conversation

klibc: silence QA Error about packaging

PATCH In review Andrea Adami 1 participant 2 messages Feb 9, 2016 – Feb 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 klibc: silence QA Error about packaging

Keeping debian packaging-style we have a copy of klibc-xxx.so in libklibc-dev. Wile there silence the warning about it being already stripped.

NOTE: klcc in OE is used as cross-compiler so the packaging is tweaked and
there is no /bin/klcc for target (drifting from debian).

---
 meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-initramfs/recipes-devtools/klibc/klibc.inc +2 -0
index a707ed5..654d9f1 100644
@@ -38,6 +38,8 @@ do_configure () {
 
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+INSANE_SKIP_klibc += "already-stripped"
+INSANE_SKIP_libklibc-dev += "dev-elf"
 KLIBC_ARCH = "${TARGET_ARCH}"
 KLIBC_ARCH_aarch64 = "arm64"
 KLIBC_ARCH_armeb = "arm"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 25 lines · Andrea Adami

Keeping debian packaging-style we have a copy of klibc-xxx.so in libklibc-dev. Wile there silence the warning about it being already stripped.

NOTE: klcc in OE is used as cross-compiler so the packaging is tweaked and
there is no /bin/klcc for target (drifting from debian).

---
 meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-initramfs/recipes-devtools/klibc/klibc.inc +2 -1
index a707ed5..654d9f1 100644
@@ -38,6 +38,8 @@ do_configure () {
 
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+INSANE_SKIP_klibc += "already-stripped"
+INSANE_SKIP_libklibc-dev += "dev-elf"
 KLIBC_ARCH = "${TARGET_ARCH}"
 KLIBC_ARCH_aarch64 = "arm64"
 KLIBC_ARCH_armeb = "arm"
--
Quoted 2 lines

1.9.1

Please discard this patch.
I'm sending a more complete set fixing build for qemux86 with latest kernel.

Thanks
Andrea