[yocto] FW: packages are compiled but not included in the final image

Christopher Larson clarson at kergoth.com
Mon Oct 12 11:06:32 PDT 2015


On Mon, Oct 12, 2015 at 10:08 AM, Thanassis Silis <djnass_18 at hotmail.com>
wrote:

> From: djnass_18 at hotmail.com
> To: yocto-bounces at yoctoproject.org
> Subject: [yocto] packages are compiled but not included in the final image
> Date: Mon, 12 Oct 2015 16:53:51 +0000
>
> Hi all,
> I am attempting to add a few executables that are not there by default in
> a "core-image-base" image.
>
> so my conf/local.conf looks like
>
> MACHINE ??= 'imx6qsabrelite'
> #after version 1.5, use
> #MACHINE ??= 'nitrogen6x'
>
> DISTRO ?= 'poky'
> PACKAGE_CLASSES ?= "package_rpm package_ipk package_deb"
>
> #dev see http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html
> EXTRA_IMAGE_FEATURES = " debug-tweaks "
> EXTRA_IMAGE_FEATURES += " package-management  "
> EXTRA_IMAGE_FEATURES += " ssh-server-openssh lmsensors "
>
> USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> PATCHRESOLVE = "noop"
> BB_DISKMON_DIRS = "\
>     STOPTASKS,${TMPDIR},1G,100K \
>     STOPTASKS,${DL_DIR},1G,100K \
>     STOPTASKS,${SSTATE_DIR},1G,100K \
>     ABORT,${TMPDIR},100M,1K \
>     ABORT,${DL_DIR},100M,1K \
>     ABORT,${SSTATE_DIR},100M,1K"
> CONF_VERSION = "1"
>
> BB_NUMBER_THREADS = '2'
> PARALLEL_MAKE = '-j 2'
> ACCEPT_FSL_EULA = ""
>
>
> #webserver
> CORE_IMAGE_EXTRA_INSTALL += " apache2 php "
>
> CORE_IMAGE_EXTRA_INSTALL += " rrdtool bc screen ntp minicom  "
>
> The image has been created but I have the following problems.
>
> while ntpd has been installed on the image and works fine, the executable
> ntpdate is NOT there.
> 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 ?
>

Yes, that's expected, busybox is used by default. Add bash yourself if you
want it, or use a different image.

For ntpdate, it's split out into its own package, so add 'ntpdate' to
CORE_IMAGE_EXTRA_INSTALL as well if you want that.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151012/7049c68f/attachment.html>


More information about the yocto mailing list