meta data for this page
  •  

This is an old revision of the document!


Tips

add files to rootfs

IMAGE_PREPROCESS_COMMAND += “rsync -a –exclude=.git ${FILE_SRC}/rootfs/* ${WORKDIR}/rootfs;”

override .conf

No override or appends mechanism. But some workaround possible:

  1. override variables in local.conf
  2. create new conf file and inherit old one with require
  3. create new conf file with the same name to mask old file (take care of layer priority)

MACHINEOVERRIDES

When creatung new machine.conf based on existing one MACHINEOVERRIDES can be used:

machine-overrides-extender.bbclass

logging

inherit logging
 
bb.debug("HELLO = %s" % HELLO)