<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Christopher,<br>thank you for the quick response. may I ask the following as well:<br><br>i am attempting to include "lmsensors" as well as a CORE_IMAGE_EXTRA_INSTALL. <br>I get errors while do_rootfs() runs<br><br>Error: lmsensors not found in the base feeds (imx6qsabrelite armv7a-vfp-neon armv7a-vfp armv7a armv6-vfp armv6 armv5e-vfp armv5e armv5-vfp armv5 armv4 arm noarch any all).<br>| ERROR: Function failed: do_rootfs (see /mnt/hd/nassdata/yocto/fsl-community-bsp/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/fsl-image-test/1.0-r0/temp/log.do_rootfs.16989 for further information)<br>ERROR: Task 7 (/mnt/hd/nassdata/yocto/fsl-community-bsp/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-test.bb, do_rootfs) failed with exit code '1'<br>NOTE: Tasks Summary: Attempted 5692 tasks of which 5690 didn't need to be rerun and 1 failed.<br>No currently running tasks (5691 of 5693)<br><br>it doesn't seem to be accepted but the log is not particularly informative. <br>In other cases that i googled it seemed that setting<br><br>ALLOW_EMPTY_${PN}-dbg = "1"<br>ALLOW_EMPTY_${PN}-dev = "1"<br><br>in sources/poky/meta/conf/bitbake.conf solved their issues. But these are already set in my case.<br><br><br><br><div><hr id="stopSpelling">From: clarson@kergoth.com<br>Date: Mon, 12 Oct 2015 11:06:32 -0700<br>Subject: Re: [yocto] FW: packages are compiled but not included in the final image<br>To: djnass_18@hotmail.com<br>CC: yocto@yoctoproject.org<br><br><div dir="ltr"><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Mon, Oct 12, 2015 at 10:08 AM, Thanassis Silis <span dir="ltr"><<a href="mailto:djnass_18@hotmail.com" target="_blank">djnass_18@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div>From: <a href="mailto:djnass_18@hotmail.com" target="_blank">djnass_18@hotmail.com</a><br>To: <a href="mailto:yocto-bounces@yoctoproject.org" target="_blank">yocto-bounces@yoctoproject.org</a><br>Subject: [yocto] packages are compiled but not included in the final image<br>Date: Mon, 12 Oct 2015 16:53:51 +0000<br><br>
<div dir="ltr">
<div dir="ltr">Hi all,<br>I am attempting to add a few executables that are not there by default in a "core-image-base" image.<br><br>so my conf/local.conf looks like<br><br><blockquote><font face="Courier New,sans-serif">MACHINE ??= 'imx6qsabrelite'</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">#after version 1.5, use</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">#MACHINE ??= 'nitrogen6x'</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">DISTRO ?= 'poky'</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">PACKAGE_CLASSES ?= "package_rpm package_ipk package_deb"</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">#dev see <a href="http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html" target="_blank">http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html</a></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">EXTRA_IMAGE_FEATURES = " debug-tweaks "</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">EXTRA_IMAGE_FEATURES += " package-management "</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">EXTRA_IMAGE_FEATURES += " ssh-server-openssh </font><font face="Courier New,sans-serif"><font face="Courier New,sans-serif"><font face="Courier New,sans-serif">lmsensors</font></font> "</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">USER_CLASSES ?= "buildstats image-mklibs image-prelink"</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">PATCHRESOLVE = "noop"</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">BB_DISKMON_DIRS = "\</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"> STOPTASKS,${TMPDIR},1G,100K \</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"> STOPTASKS,${DL_DIR},1G,100K \</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"> STOPTASKS,${SSTATE_DIR},1G,100K \</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"> ABORT,${TMPDIR},100M,1K \</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"> ABORT,${DL_DIR},100M,1K \</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"> ABORT,${SSTATE_DIR},100M,1K" </font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">CONF_VERSION = "1"</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">BB_NUMBER_THREADS = '2'</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">PARALLEL_MAKE = '-j 2'</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">ACCEPT_FSL_EULA = ""</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">#webserver</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">CORE_IMAGE_EXTRA_INSTALL += " apache2 php "</font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif"><br></font><font face="Courier New,sans-serif">CORE_IMAGE_EXTRA_INSTALL += " rrdtool bc screen ntp minicom </font><font face="Courier New,sans-serif"><font face="Courier New,sans-serif"> </font>"</font><br><br></blockquote>The image has been created but I have the following problems.<br><br>while ntpd has been installed on the image and works fine, the executable ntpdate is NOT there.<br>bash is also missing from core-image-base . is that to be expected? Should I add it as a CORE_IMAGE_EXTRA_INSTALL or as an EXTRA_IMAGE_FEATURE ?</div></div></div></blockquote></div><br>Yes, that's expected, busybox is used by default. Add bash yourself if you want it, or use a different image.</div><div class="ecxgmail_extra"><br></div><div class="ecxgmail_extra">For ntpdate, it's split out into its own package, so add 'ntpdate' to CORE_IMAGE_EXTRA_INSTALL as well if you want that.<br>-- <br><div class="ecxgmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div></div></div>
</div></body>
</html>