Hi all,

Recently I wanted to use buildhistory a bit more, but I've noticed that content of metadata-revs file is a bit strange.

I thought that it should be like "${LAYER_NAME} = ${LAYER_REVISION}" but I get a lots of blank spaces and then "= ${LAYER_REVISION}".


Can you tell me whether it is desired behaviour and if it is still possible to restore the exact image using buildhistory with such a metadata-revs?

Below examples of "metadata-revs" and my "bblayers.conf".


Thanks,

Piotr


Example of my metadata-revs file:

meta              = master:b76161a9a890481e8418a34b3250fc2debcb566f
meta-poky         = master:b76161a9a890481e8418a34b3250fc2debcb566f
meta-yocto-bsp    = master:b76161a9a890481e8418a34b3250fc2debcb566f
meta-raspberrypi  = master:68634deeed2a930a15eedd02e6b1de7d1e014d3b
                  = master:5ecbf9bab404af0de7d0f058d1620f40dae0d2d8
                  = master:5ecbf9bab404af0de7d0f058d1620f40dae0d2d8
                  = master:5ecbf9bab404af0de7d0f058d1620f40dae0d2d8
                  = master:5ecbf9bab404af0de7d0f058d1620f40dae0d2d8
                  = master:5ecbf9bab404af0de7d0f058d1620f40dae0d2d8
                  = master:5ecbf9bab404af0de7d0f058d1620f40dae0d2d8
                  = master:c0ba8ab590ba4e17a2a04925cf48915233d4f493


Example of my bblayers.conf:

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

LAYERS_DIR = "${TOPDIR}/../layers"

BBLAYERS ?= " \
  ${LAYERS_DIR}/poky/meta \
  ${LAYERS_DIR}/poky/meta-poky \
  ${LAYERS_DIR}/poky/meta-yocto-bsp \
  \
  ${LAYERS_DIR}/meta-raspberrypi \
  ${LAYERS_DIR}/meta-openembedded/meta-oe/ \
  ${LAYERS_DIR}/meta-openembedded/meta-multimedia/ \
  ${LAYERS_DIR}/meta-openembedded/meta-networking/ \
  ${LAYERS_DIR}/meta-openembedded/meta-python/ \
  ${LAYERS_DIR}/meta-openembedded/meta-webserver/ \
  ${LAYERS_DIR}/meta-openembedded/meta-initramfs/ \
  ${LAYERS_DIR}/meta-qt5/ \
  "

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to