Simply run;
% source poky-init-build-env
-% bitbake oh-image-pda
+% bitbake poky-image-sato
This will result in an ext2 image and kernel for qemu arm (see scripts dir).
To build for other machine types see MACHINE in build/conf/local.conf
-Other image targets such as oh-image-sdk or oh-image-core are available,
+Other image targets such as poky-image-sdk or poky-image-minimal are available,
see meta/packages/images/*.
Notes:
The -s option lists all the versions of packages that bitbake will use.
+Bitbake - More Information
+==========================
+
+See the bitbake user manual at: http://bitbake.berlios.de/manual/
+
QEMU
====
require poky-image.inc
# remove not needed ipkg informations
-ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files"
+ROOTFS_POSTPROCESS_COMMAND += "rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/"
DESCRIPTION = "Bootable CD"
-DEPENDS = "oh-image-pda"
+DEPENDS = "poky-image-sato"
COMPATIBLE_MACHINE = "bootcdx86"
IMAGE_NAME = "${PN}-${DATETIME}"
AUTO_SYSLINUXCFG = "1"
-INITRD = "${DEPLOY_DIR_IMAGE}/oh-image-pda-${MACHINE}.ext2"
+INITRD = "${DEPLOY_DIR_IMAGE}/oh-image-sato-${MACHINE}.ext2"
LABELS = "poky"
APPEND = "root=/dev/ram0"
<zimage> is the path to a kernel (zimage-qemuarm.bin)
<filesystem> is the path to an ext2 image (filesystem-qemuarm.ext2)
-It will default to the qemuarm, ext2 and the last kernel and oh-image-sdk
+It will default to the qemuarm, ext2 and the last kernel and poky-image-sdk
image built by poky.
if [ "$MACHINE" = "qemuarm" ]; then
if [ "$TYPE" = "ext2" ]; then
if [ "x$HDIMAGE" = "x" ]; then
- HDIMAGE=$BUILDDIR/tmp/deploy/images/oh-image-sdk-qemuarm.ext2
+ HDIMAGE=$BUILDDIR/tmp/deploy/images/poky-image-sdk-qemuarm.ext2
fi
fi
fi
if [ "$MACHINE" = "spitz" ]; then
if [ "$TYPE" = "ext3" ]; then
if [ "x$HDIMAGE" = "x" ]; then
- HDIMAGE=$BUILDDIR/tmp/deploy/images/oh-image-pda-spitz.ext3
+ HDIMAGE=$BUILDDIR/tmp/deploy/images/poky-image-pda-spitz.ext3
fi
fi
fi
if [ "$MACHINE" = "akita" ]; then
if [ "$TYPE" = "jffs2" ]; then
if [ "x$HDIMAGE" = "x" ]; then
- HDIMAGE=$BUILDDIR/tmp/deploy/images/oh-image-pda-akita.jffs2
+ HDIMAGE=$BUILDDIR/tmp/deploy/images/poky-image-pda-akita.jffs2
fi
fi
fi
fi
if [ "$TYPE" = "ext2" ]; then
if [ "x$HDIMAGE" = "x" ]; then
- HDIMAGE=$BUILDDIR/tmp/deploy/images/oh-image-sdk-qemux86.ext2
+ HDIMAGE=$BUILDDIR/tmp/deploy/images/poky-image-sdk-qemux86.ext2
fi
fi
CROSSPATH=$BUILDDIR/tmp/cross/i586-poky-linux/bin