]> code.ossystems Code Review - openembedded-core.git/commitdiff
coreutils: fix nativesdk install failure
authorS. Lockwood-Childs <sjl@vctlabs.com>
Fri, 15 Jun 2018 07:54:33 +0000 (00:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 09:40:37 +0000 (10:40 +0100)
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.

(From OE-Core rev: 57f1f5708306a6121b1172c5163c6566d5bcb89c)

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f3a3d4063814e6732b8c861018b39d5abfc43b4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/coreutils/coreutils_8.29.bb

index 0b8acc5884fd255c15fed99b167d8bebb585b339..4704f321961a93208208bc1d6867f0af7bc51049 100644 (file)
@@ -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
 #