mirror of
https://github.com/AsteroidOS/asteroid.git
synced 2026-01-19 20:48:53 -05:00
8cc3be7300a0aab427fbdd39cbb007e54d208b91
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>
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.
Languages
Shell
92.5%
Dockerfile
7.5%