[Toaster] hob and image customization

Brian Avery avery.brian at gmail.com
Thu Jul 30 11:35:42 PDT 2015


One of the questions I had was how did hob set up the image files for
custom images.  I went ahead and tested it on fido with
core-image-minimal.

I got the following:
core-image minimal with acl and dependencies (libacl,libattr) added gave:
+++++++++
require /big/src/intel/yocto-poky/fido/poky/meta/recipes-core/images/core-image-minimal.bb

IMAGE_INSTALL = "libacl init-ifupdown busybox-syslog initscripts
util-linux-libuuid libkmod busybox netbase zlib base-passwd
sysvinit-inittab kernel-module-uvesafb util-linux-libblkid\

 busybox-udhcpc run-postinsts update-rc.d base-files
modutils-initscripts libattr udev-cache sysvinit-pidof
initscripts-functions update-alternatives-opkg sysvinit acl udev
kernel-bas\

e busybox-hwclock glibc packagegroup-core-boot v86d "

DESCRIPTION = "added acl and libacl/attr to core image minimal"

+++++++++++++
when I deleted udev from the above image I got:

++++++++++
require /big/src/intel/yocto-poky/fido/poky/meta/recipes-core/images/core-image-minimal.bb

IMAGE_INSTALL = "libacl init-ifupdown busybox-syslog initscripts
util-linux-libuuid libkmod busybox netbase zlib base-passwd
sysvinit-inittab kernel-module-uvesafb util-linux-libblkid\

 busybox-udhcpc run-postinsts update-rc.d base-files
modutils-initscripts libattr sysvinit-pidof initscripts-functions
update-alternatives-opkg sysvinit acl kernel-base busybox-hwcloc\

k glibc v86d "

DESCRIPTION = "added acl and libacl/attr to core image minimal. also
removed udev to see how it handled removes."

++++++++

The one that adds packages simply added them into the list along with
everything else that core-image-minimal includes.

The one that removed udev did the same thing but dropped the unused
packages as well as the unused package group.

  Assuming that this approach worked in the past and is the behaviour
that people leaving hob for toaster would be expecting; I'd be
inclined to follow it in the toaster approach.

Comments welcome,
-b


More information about the toaster mailing list