Darrel Griët 8cc3be7300 Do not generate an empty bblayers.conf file upon update
46339cad31
introduced behaviour such that the 'current' state of `bblayers.conf` is copied to
a temporary file layers are updated and this bblayers.conf is overwritten with
the temporary file generated by `mktemp`.

However, this introduces an issue where an empty `bblayers.conf` is created if
the user decides to update layers perior to building (i.e. do
`./prepare-build.sh update` first) as the temporary file (created with `mktemp`)
is copied without any contents because `bblayers.conf` doesn't exist yet.

This empty file doesn't contain the `layer_line` pattern, so nothing will be
appended.

To fix this issue, do not generate an empty `bblayers.conf` file upon update if
it doesn't exist.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
2025-01-18 19:35:38 +01:00
2015-06-04 22:40:53 +02:00
2022-01-29 10:07:25 +01:00

AsteroidOS build system

AsteroidOS is a free and open-source smartwatch platform based on OpenEmbedded, libhybris and Qt5.

You can fully build a flashable image from source with the following commands, but be careful it will take several hours:

. ./prepare-build.sh <your machine id, e.g., dory>
bitbake asteroid-image

For more information report to the documentation.

Stay tuned about the project on Matrix and Twitter.

Report any problem on the project's issues tracker.

Description
No description provided
Readme GPL-2.0 212 KiB
Languages
Shell 92.5%
Dockerfile 7.5%