Skip to contentSkip to conversation

coreutils: fix nativesdk install failure

PATCH New S. Lockwood-Childs 1 participant 1 message Jun 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coreutils: fix nativesdk install failure

The change "fix hostname conflict with other packages" moved the hostname util to the list of base_bindir_progs, so do_install_append() now expects hostname to have been built.

coreutils do_install_append() is shared between target and nativesdk builds (though not used by native build, see comment) so hostname should be enabled to build on both of them.

---
 meta/recipes-core/coreutils/coreutils_8.29.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/coreutils/coreutils_8.29.bb +1 -1
index 0b8acc5..4704f32 100644
@@ -26,7 +26,7 @@ SRC_URI[sha256sum] = "92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f4
 
 EXTRA_OECONF_class-native = "--without-gmp"
 EXTRA_OECONF_class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}"
-EXTRA_OECONF_class-nativesdk = "--enable-install-program=arch"
+EXTRA_OECONF_class-nativesdk = "--enable-install-program=arch,hostname"
 
 # acl and xattr are not default features
 #
Signature · 1 line
1.9.4