133 Commits

Author SHA1 Message Date
casept
af7fb1d999 Rename qemux86 => emulator
As part of the qemu cleanup in meta-asteroid, the machine has been renamed.
2025-10-15 19:05:05 -04:00
Darrel Griët
9c0cff116f Bump all to walnascar
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2025-10-06 17:59:08 -04:00
roundedrectangle
06b0eddbfd Add python3-setuptools to dependencies
Otherwise `devtool` command would fail
2025-07-03 12:15:25 -04:00
casept
cfb1fea110 Add machine for Rinato 2025-04-12 20:59:26 +02:00
Ed Beroset
3d8b9b3b4d Use named release instead of "latest"
To make sure we have reliable and repeatable builds, the Dockerfile
now uses "ubuntu:noble" instead of "ubuntu:latest" to have a fixed,
known recipe for containerized builds.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2025-02-25 06:37:14 -05:00
Ed Beroset
80e04673a0 Update dockerfile to use ubuntu-latest
This updates to the latest ubuntu image.  It also removes
the deprecated "python3-distutils" and adds "python3-packaging" and
"file" to the list of installed dependencies.  This fixes #299 in which
libmce-glib would fail to compile with a Python error
"ModuleNotFoundError: No module named 'packaging'"

Signed-off-by: Ed Beroset <beroset@ieee.org>
2025-02-25 06:37:14 -05:00
Darrel Griët
b4308f4816 Fix check if layer config file exists
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2025-01-18 19:41:14 +01:00
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
Ed Beroset
160d0679cb Fix another error in update_layer_config
There was a silly omission that caused the bblayers.conf file to be empty under
some conditions.  This fixes that and restores full functionality.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2024-11-28 11:40:22 -05:00
Ed Beroset
4b590dcba6 Fix error in update_layer_config()
The previous patch was not quite correct.  It only copied into the
tmpfile once but should have copied once per iteration of the for loop.
This fixes that error.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2024-11-27 16:41:45 +01:00
Ed Beroset
46339cad31 Use only standard awk features
This removes the requirement for the inplace script or any gawk features
by explicitly creating a tmpfile, operating on that, and then removing
the tmpfile when complete.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2024-11-27 14:34:35 +01:00
Darrel Griët
8301aa39b2 Bump all to scarthgap
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2024-08-09 08:15:50 -04:00
Jozef Mlich
53ad9fe165 Update base distribution to focal in Dockerfile 2024-01-29 08:24:29 -05:00
Ed Beroset
b357d7d476 Update meta-open-embedded past mickledore
This updates meta-open-embedded beyond the labeled mickledore version to
pick up the patch that corrects the current SRC_URI for polkit as well
as a few other fixes and improvements.

The upstream polkit change needed is this one:
0804e61bd7

Signed-off-by: Ed Beroset <beroset@ieee.org>
2023-12-23 21:19:25 +01:00
Ed Beroset
cf4fa141cb Update from kirkstone to mickledore
This is part of a fix for #245 to update from kirkstone to mickledore.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2023-12-23 21:19:25 +01:00
Peter Dave Hello
b7bcc4fcb7 Consolidate Docker commands for efficient cleanup
This commit merges 'apt' commands and cleanup into one Docker layer. This is crucial because cleanup within the same layer it's created is effective, unlike in separate layers. This change improves Docker image efficiency by reducing the overall size.
2023-10-31 17:40:43 -04:00
Darrel Griët
9620498a22 Use fixed commit for non-AsteroidOS repositories.
There have been increasing reports of bricked devices.
The cause of this issue is currently unknown. Hence rollback any upstream changes that may have causes this issue until the cause has been found.
The fixes commits are from around late May (24st) as the first reports of bricked devices was around early June.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-07-30 11:00:33 +02:00
Ed Beroset
a3081b8669 Don't set IFS and avoid problems
Setting IFS globally causes problems as mentioned by voidanix in the
Matrix chat.  Specifically, it messes up splitting of words and
filenames for subsequent runs of the script.  This avoids that and was
tested with both bash and zsh.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2023-06-27 22:18:19 +02:00
bretello
3ae2a62c03 Silence (harmless) errors in pull_dir 2023-06-01 20:54:35 +02:00
Ed Beroset
6539f3fb5d Use explicit branch for main repository update
This adds an explicit branch name to fix #250 in which the update
subcommand fails to work if the user has a fork of the main repository.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2023-05-20 14:02:01 +02:00
Darrel Griët
8511c7683a Add machine for hoki (Fossil Gen 6 platform)
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-05-06 14:26:31 +02:00
Darrel Griët
ea8f05a330 Update layer configuration whenever a new layer is added.
Previously one could provide a new platform to the `devices` variable. This implies a new layer under `src/meta-smartwatch/meta-*`.
But the build configuration (bblayers.conf) is never updated with this new information as that file may already exists.

This adds support for updating the layer configuration whenever a new layer is added to the `layer_conf` variable and or a new layer becomes available in the `meta-smartwatch` repository.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-05-06 14:22:14 +02:00
Arseniy Movshev
90e8b6e3d2 Add machine koi, Casio WSD-F10/F20 2023-03-29 23:00:01 +02:00
Florent Revest
4234f6fe77 Add machine for sparrow with a mainline kernel 2023-03-06 00:40:09 +01:00
Darrel Griët
fc7bac6d51 Add machine for triggerfish (Fossil Gen 5 platform)
Co-authored-by: Arseniy Movshev <dodoradio@outlook.com>
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-02-27 00:28:12 +01:00
Darrel Griët
0258f1c917 Add machine for pike (Polar M600)
Co-authored-by: Arseniy Movshev <dodoradio@outlook.com>
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-02-27 00:28:12 +01:00
Darrel Griët
94073362bc Use a fixed commit for meta-smartphone.
Since 376fb5ff5f most all of our ports fail to compile as they use a specific SRCREV for libhybris.
Eventually all ports should use the same SRCREV instead of something custom.
This works around the current issue by rolling back `meta-smartphone` until all ports use the same version of libhybris.

This provides a solution to https://github.com/AsteroidOS/asteroid/issues/238.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
2023-02-27 00:28:12 +01:00
eLtMosen
b99638a1b4 nemo: add nemo to prebuilt script 2023-02-02 22:59:44 +01:00
Ed Beroset
4a27026593 Support personal clones of subprojects
When working on AsteroidOS recipes, it's convenient to have both a fork
of the subproject and also to set the upstream url.  However, the
prepare-build.sh file would then only retrieve updates from the fork
rather than upstream.  This addresses that issue by checking whether
there is an upstream or not; if not, it does the fork as it always had.
If there is an upstream, it pulls the named head from that fork instead,
making it easy and reliable to maintain one's own fork for contributions
back to the main project.

Signed-off-by: Ed Beroset <beroset@ieee.org>
2023-01-29 14:56:04 +01:00
Darrel Griët
25b77f843c Add machine for minnow (Moto 360)
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-07-23 21:21:36 +02:00
Darrel Griët
33ad458412 Use correct branch when updating.
Change the logic such that all layers are stored in an array so that we can always refer back to it.
This is used to update the layers and to make sure that they are on the correct branch.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-05-31 00:34:02 +02:00
Darrel Griët
ac6e314c3a Bump all to kirkstone.
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-05-24 01:38:34 +02:00
Darrel Griët
8dcb97d19c Add machine for beluga (OPPO Watch 41mm/46mm)
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-04-21 23:35:26 +02:00
Darrel Griët
f388901b70 Move meta-qt5 back to the honister branch.
The SailfishOS related remote changes have been merged to the honister branch.
It's safe now to continue using the branch again.

Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-04-07 13:01:56 +02:00
jrt
eb6852697e Add issue and feature request templates 2022-03-07 21:03:34 +01:00
Darrel Griët
4c5ac51799 Fix issue with bash command substitution.
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-03-06 20:15:57 +01:00
Darrel Griët
4f129b20bc Move all smartwatch layers to a unified repository.
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-03-06 18:56:54 +01:00
jrt
96c45b2ab8 Add donation metadata to repository 2022-03-05 14:03:10 +01:00
Darrel Griët
403841cbba Add narwhal layer to layer collection.
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-02-17 22:17:06 +01:00
dodoradio
6b1d3cddc4 Add machine for narwhal (LG Watch W7) 2022-02-15 19:44:54 +01:00
Doomsdayrs
f136531ba8 Update README for Matrix
Matrix # 1
2022-01-29 10:07:25 +01:00
MagneFire
191542f141 Add machine for catfish (Ticwatch Pro) 2021-12-06 22:20:55 +01:00
MagneFire
bd194d1bd4 Use fixed commit for meta-qt5 as the honister branch did not incorporate SailfishOS remote changes.
git.merproject.org is obsolete all repos have moved to github.com/sailfishos.
These changes have been merged in meta-qt5 but only on the master branch.

Also see https://github.com/AsteroidOS/meta-asteroid/issues/66.
2021-11-15 19:06:05 +01:00
MagneFire
6316a65f54 Add machine for firefish (Fossil Gen 4) 2021-11-07 12:05:15 +01:00
MagneFire
71135a3578 Add repository for ray (Skagen Falster 2) 2021-11-02 23:38:59 +01:00
R0NAM1
1a48096ebb Add Skipjack pointing to Release Repo (#173) 2021-11-01 01:07:50 +01:00
Ed Beroset
092097f61d Adds zstd and liblz4-tool dependency to Dockerfile.
Upstream bitbake now requires these tools (https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1c51e6535bfead57c7913ae74d0d71af4dfe8195).
2021-10-22 13:27:32 +02:00
MagneFire
d52775495f Bump all to Honister. 2021-10-22 13:27:32 +02:00
jrt
aed65d5d67 add qemux86 build target (#170) 2021-10-15 01:46:24 +02:00
MagneFire
ed7783d3ff Use a fixed commit for meta-smartphone as it has bumped to the nex syntax.
As of bitbake 7dcf317cc1 a new override syntax is used.
Not all current layers have switched to this new syntax yet (most notable meta-qt5), others have applied this new syntax in the upcoming Yocto Honister release instead of the current Hardknott release.
Due to the mixed usage of the different layers keep the current syntax and reconsider when moving our current build to the new Honister release.
2021-09-04 13:50:46 +02:00