Skip to contentSkip to conversation

keyutils: Fix build with usrmerge

PATCH In review Alex Kiernan 2 participants 2 messages Sep 16, 2018 – Sep 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 keyutils: Fix build with usrmerge

Update BINDIR and SBINDIR so keyutils builds with usrmerge

ERROR: keyutils-1.5.10-r0 do_package: QA Issue: keyutils: Files/directories were installed but not shipped in any package:
/sbin/key.dns_resolver
/sbin/request-key
/bin/keyctl
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
keyutils: 3 installed and not shipped files. [installed-vs-shipped]

---

 recipes-security/keyutils/keyutils_1.5.10.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-security/keyutils/keyutils_1.5.10.bb +2 -0
index 2ead8fa..a4222b9 100644
@@ -27,6 +27,8 @@ SRC_URI[sha256sum] = "115c3deae7f181778fd0e0ffaa2dad1bf1fe2f5677cf2e0e348cdb7a1c
 
 EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -Wall' \
     NO_ARLIB=1 \
+    BINDIR=${base_bindir} \
+    SBINDIR=${base_sbindir} \
     LIBDIR=${base_libdir} \
     USRLIBDIR=${base_libdir} \
     BUILDFOR=${SITEINFO_BITS}-bit \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Alex Kiernan

Update BINDIR and SBINDIR so keyutils builds with usrmerge

ERROR: keyutils-1.5.10-r0 do_package: QA Issue: keyutils: Files/directories were installed but not shipped in any package:
/sbin/key.dns_resolver
/sbin/request-key
/bin/keyctl
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
keyutils: 3 installed and not shipped files. [installed-vs-shipped]

merged,
Thanks,
armin

Quoted 18 lines

---

 recipes-security/keyutils/keyutils_1.5.10.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-security/keyutils/keyutils_1.5.10.bb +2 -0
index 2ead8fa..a4222b9 100644
@@ -27,6 +27,8 @@ SRC_URI[sha256sum] = "115c3deae7f181778fd0e0ffaa2dad1bf1fe2f5677cf2e0e348cdb7a1c
 
 EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -Wall' \
     NO_ARLIB=1 \
+    BINDIR=${base_bindir} \
+    SBINDIR=${base_sbindir} \
     LIBDIR=${base_libdir} \
     USRLIBDIR=${base_libdir} \
     BUILDFOR=${SITEINFO_BITS}-bit \