title: How to STANDALONE execute the following bitbake script in DISTRO="poky" context?
body: <p>I created the following bitbake script (kind of), but I would like to execute it independently in DISTRO="poky" context:</p>
  
  <pre><code>BBLAYERS ?= " \
    /home/user/YOCTO/oe_core_embedded/poky/meta \
    /home/user/YOCTO/oe_core_embedded/poky/meta-poky \
    /home/user/YOCTO/oe_core_embedded/poky/meta-yocto-bsp \
    "
  
  for layer in ${BBLAYERS}; do
          cd $layer
          echo -n "$(basename $layer) = "  &gt;&gt; ${D}${sysconfdir}/gitinfo
          git rev-parse HEAD &gt;&gt; ${D}${sysconfdir}/gitinfo
  done
  </code></pre>
  
  <p>Explicitly, I do NOT want this script to be part of any recipe .bb, NOT at all?!</p>
  
  <p>How I can do execution of this script standalone?</p>
  
  <p>Thank you,
  <em>nobody</em></p>