[yocto] After update to yocto 2.0 from 1.8 can not install app to /usr/sbin in SDK

Krzeminski, Marcin (Nokia - PL/Wroclaw) marcin.krzeminski at nokia.com
Thu Nov 19 04:23:45 PST 2015


It does make sense now. Cmake updated.

Thanks,
Marcin Krzeminski

From: EXT Burton, Ross [mailto:ross.burton at intel.com]
Sent: Thursday, November 19, 2015 12:21 PM
To: Krzeminski, Marcin (Nokia - PL/Wroclaw) <marcin.krzeminski at nokia.com>
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] After update to yocto 2.0 from 1.8 can not install app to /usr/sbin in SDK


On 19 November 2015 at 10:59, Krzeminski, Marcin (Nokia - PL/Wroclaw) <marcin.krzeminski at nokia.com<mailto:marcin.krzeminski at nokia.com>> wrote:
Does this behavior is somehow expected?

Yes.  sbindir is set to bindir for the SDK, so that all binaries installed are trivially available to the user.   Instead of hard-coding ${prefix}/sbin use ${sbindir} everywhere and your binary will end up in the SDK's usr/bin/.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151119/80a56df1/attachment.html>


More information about the yocto mailing list