Moblin compliant images from Poky
The recent Moblin beta release brings a new environment to developers
and there are many people in the community who want to experiment with
this. The official way of building Moblin is targeted along the
traditional desktop distribution approach which fits the needs of
vendors who make up a large share of the user base, but especially in
more embedded environments in the past OpenEmbedded style systems such
as Poky are popular.
With this in mind we’re pleased to announce the availability of metadata
to build Moblin compliant images using the Poky build system and
platform development tool.
The metadata has been checked into Poky and is available for people to
start experimenting with as they wish. This allows developers the
potential to create and customise their images in a controlled and
sustainable way suited to community members and the embedded space.
Users can also benefit from Poky’s continually integration development
model.
The following commands are all that is needed to make a checkout and
build a Poky Linux image that is Moblin compliant:
$ git clone git://git.pokylinux.org/poky.git $ cd poky $ source poky-init-build-env
conf/local.conf will be created with default settings, please check
these and adjust as needed. You will need to set DISTRO=moblin and
MACHINE=netbook. You can then run
$ bitbake moblin-image-netbook-live
and after the build completes an image will be generated in
tmp/deploy/images/moblin-image-netbook-live-netbook.hddimg which can be
transfered onto a USB memory card using dd and then live booted on a
netbook class machine.
This assumes the needed prerequisites are installed but if not, Poky
will tell you which packages are missing. More information about Poky is
available on its website, http://www.pokylinux.org/. There is this
mailing list for further discussion and the Poky bugzilla where problems
can be reported. Bug reports on Poky derived packages should initially
go to the Poky bugzilla, not the Moblin one.
Note that Poky is *not* a replacement for the main Moblin distribution,
it is a complement to it. Its intended there will be differences which
currently include:
- Use of the light weight package manager opkg instead of yum+rpm. This underlines packages from one system are not intended to work with the other at least at this time. apt+deb can also be selected.
- Uses latest git revisions of the Moblin UI packages - these are under
active development so some issues can arise due to normal development
flux. There is a known to be reasonable set of locked down versions
and the option of letting the system use the changes direct from the
SCM. - Single user with no traditional display manager
- busybox style filesystem utilities for efficient disk footprint
(although traditional utilities can be swapped in if desired) - the system is built using a cross compiler in sysroot mode. This
means root privileges are not required to run builds, normal user
development tools are available and a 64 bit host system can build
for the 32 bit netbook targets.
It is intended for Poky to be a more experimental platform with
innovation and experimentation being encouraged.
For more information please see the Poky webpage about this at
http://pokylinux.org/moblin/ and the rest of the Poky website and
manual.