aboutsummaryrefslogtreecommitdiffstats
path: root/kas-poky-rpi.yml
AgeCommit message (Collapse)Author
2023-07-24kas-poky-rpi.yml: renamed ABORT to HALTJan Vermaete
Naming changed in Yocto. And it avoids a warning during the run. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
2021-08-09kas: local.conf: disable prelinkPierre-Jean Texier
Keep configuration synchronized with OE-Core, see [1]. [1] - http://git.openembedded.org/openembedded-core/commit/?id=f9719cc1c3fe9d380336e7af418daf27473b2e8b Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-08-04kas: local.conf: bump CONF_VERSION variablePierre-Jean Texier
Since commit 5452f1ba337685cf89d3429e08255450ab90b96f ("local.conf.sample: Bump version so users update their config") in OE-Core, we need to update the default local.conf due to the new syntax. Fixes: ERROR: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:oecore_update_localconf(d) 0003: File: '/work/poky/meta/classes/sanity.bbclass', lineno: 56, function: oecore_update_localconf 0052: 0053:is a good way to visualise the changes.""" 0054: failmsg = d.expand(failmsg) 0055: *** 0056: raise NotImplementedError(failmsg) 0057:} 0058: 0059:SANITY_SITECONF_SAMPLE ?= "${COREBASE}/meta*/conf/site.conf.sample" 0060:python oecore_update_siteconf() { Exception: NotImplementedError: Your version of local.conf was generated from an older/newer version of local.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing. Matching the version numbers will remove this message. "meld conf/local.conf /work/poky/meta*/conf/local.conf.sample" is a good way to visualise the changes. Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-06-07kas: remove 'image-mklibs' from USER_CLASSES listPierre-Jean Texier
mklibs is no longer supported, see [1] [1] - http://git.openembedded.org/openembedded-core/commit/meta/classes?id=908df863b419d1cad7317153101fc827e7e3a354 Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-01-21kas-poky-rpi.yml: Make git ignore layers cloned by kasPaul Barker
Move the layer paths used by kas into a `layers` subdirectory and add this to the git ignore list. Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-01-22kas-poky-rpi: add kas filePierre-Jean Texier
The kas tool provides an easy mechanism to setup bitbake based projects. As explained in [1] the key features provided by kas are: - clone and checkout bitbake layers - create default bitbake settings (machine, arch, ...) - launch minimal build environment, reducing risk of host contamination - initiate bitbake build process So, let's create a minimal example in this layer to build an image with a small effort. This seems interesting for new users of the meta-raspberrypi. For example: $: sudo pip3 install kas $: mkdir rpi $: cd rpi $: git clone https://github.com/agherzan/meta-raspberrypi.git $: kas build meta-raspberrypi/kas-poky-rpi.yml and that's all ! To adjust the construction with specific options (I2C, SPI, ...), simply add a section as follows: local_conf_header: rpi-specific: | ENABLE_I2C = "1" RPI_EXTRA_CONFIG = "dtoverlay=pi3-disable-bt" To configure the machine, the user have to update the 'machine' variable. And the same for the 'distro'. [1] - https://kas.readthedocs.io/en/1.0/userguide.html Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>