Class methods are as follows:
hasPackage(pkg)
:
Returns "True" if pkg
is in the
installed package list of the image, which is based
on
${WORKDIR}/installed_pkgs.txt
that is generated during the
do.rootfs
task.
hasFeature(feature)
:
Returns "True" if the feature is in
IMAGE_FEATURES
or
DISTRO_FEATURES
.
restartTarget(params)
:
Restarts the QEMU image optionally passing
params
to the
runqemu
script's
qemuparams
list (e.g "-m 1024" for
more memory).