/foss2020-lightning-talk-meta-pscg

Sub step of meta-pscg from thepscg yocto project course, to show if time permitts at the lightning talk

Primary LanguageBitBake

Using the tutorial

In the case you have the entire repository DO NOT start from the master branch. Instead, start from branch starting-point (and do not cheat ;-) )

Used repository for the FOSS2020 demo:

For Yocto First timers, the Yocto Project setup is described in https://www.youtube.com/watch?v=CZ2cVtAsBVI When you clone this repository you would want to:

  • Clone to your build directory and name the folder "meta-pscg"
  • Update conf/bblayers.conf : append '${TOPDIR}/meta-pscg ' (without the ' ' !!!) ) to BBLAYERS

*This document is deliberately not formatted so that text could be pasted as is if not rendered

The demonstrated setup-live.sh script had the following contents:

#!/bin/bash POKYSRC=~/Tutorials/poky-zeus-22.0.2 DESTDIR=$(pwd)/live mkdir $DESTDIR cp -a reference/conf reference/meta-pscg $DESTDIR/ cd $POKYSRC

. oe-init-build-env $DESTDIR

echo -e "\n\n" echo "Note that the conf directory is already populated, so the message is slightly different, the contents are not overridden with the template!" echo -e "\n" echo "Press return key to start building..." read bitbake core-image-minimal

echo -e "\n\n" echo "Press return key to run the emulator..." read runqemu nographic

echo -e "\n\nDONE"