Commit Graph

124 Commits

Author SHA1 Message Date
Thilo Graf
1ff67985ec github workflow: rework 2025-03-29 21:23:35 +01:00
Thilo Graf
889b4b9746 init.sh: switch clone url of meta-openembedded to faster github mirror 2025-03-29 21:03:57 +01:00
Thilo Graf
0ecffb58dd init.sh: fix syntax error
line 184: [: ==: unary operator expected
2025-03-29 21:00:24 +01:00
Thilo Graf
1528ca7279 init.sh: switch clone url of yoctoproject to faster github mirror 2025-03-29 20:42:43 +01:00
Thilo Graf
6bc2f1b7f9 workflow: use Python 3.8 to ensure compatibility with googletrans 3.1.0a0 2025-02-14 22:39:56 +01:00
Thilo Graf
48ec25e2e4 init.sh: fix wrong information for update 2025-02-14 22:21:58 +01:00
Thilo Graf
6d4ae33a0e Refactor patch application in fetch_meta: add apply_patch function
- Introduced a new function `apply_patch` to encapsulate patch application logic.
- The function first checks (using a reverse check) if the patch is
  already applied.
- If not, it uses `git apply --check` and `git apply` to apply the patch,
  then commits the change.
- Updated `fetch_meta` to call `apply_patch` for all patches instead of
  using `git am`.
- This refactoring simplifies the patching process and ensures that
  partially applied or faulty patches do not leave the repository
  in an inconsistent state.
2025-02-14 22:07:17 +01:00
Thilo Graf
7961947fa9 fix(fetch_meta): skip checkout when branch_hash is empty
Added a condition to only execute the git checkout command if a valid
branch_hash is provided.
This prevents the "empty string is not a valid pathspec" error when
branch_hash is empty.
2025-02-13 20:29:28 +01:00
Thilo Graf
0c17141c15 init.sh: add miising bracket 2025-02-13 20:05:22 +01:00
Thilo Graf
1488d7f07a readme_en.md: fix wrong license name
Autotranslation error.
2025-01-21 10:59:02 +01:00
Thilo Graf
0acb4f2bcb workflow: remove unneeded push 2025-01-21 10:49:09 +01:00
Thilo Graf
2f12b0e953 workflow: update paths to include files directory and additional config files 2025-01-21 10:20:38 +01:00
Thilo Graf
b220b0804f Readme: fix som copy paste errors 2025-01-21 10:18:39 +01:00
Thilo Graf
3c9c730ef5 .gitignore: add translate stuff 2025-01-19 20:02:28 +01:00
Thilo Graf
b85a65968f update README 2025-01-19 20:00:44 +01:00
Thilo Graf
495bd574c1 .github/workflow: update yaml
use only .github/workflows/translateandtag.yml as workflow
2025-01-19 19:59:44 +01:00
Thilo Graf
fd2fec8550 .gitignore: add tagit- and python environment stuff 2025-01-19 18:27:38 +01:00
Thilo Graf
3e510b0f91 init.sh: Dynamically determine 'poky' basename from YOCTO_GIT_URL
- Replaced hardcoded 'poky' with `$(basename $YOCTO_GIT_URL)` for better
  maintainability.
- Ensured compatibility with dynamically fetched URLs for Yocto and
  potential future sources.
2025-01-19 17:56:27 +01:00
Thilo Graf
e915e9a3af Update README-de.md 2024-12-04 19:44:19 +01:00
Thilo Graf
e207b2f214 readme: update readme 2024-05-13 17:59:46 +02:00
Thilo Graf
bd4394002a init.sh: Refactor image version handling in the build script
- Introduced DEFAULT_IMAGE_VERSION and COMPATIBLE_IMAGE_VERSIONS for
  flexible version management.
- Mapped multiple compatible versions to a single configuration block
  to avoid duplication.
- Ensured IMAGE_VERSION adjusts dynamically based on user input,
  with validation against COMPATIBLE_IMAGE_VERSIONS.
- Streamlined environment variable naming and organized source
  layer configuration.
- Added conditional execution for Python2 layer fetching based on the
  presence of PYTHON2_SRCREV.

This commit improves the script's maintainability and robustness by clarifying version management and optimizing configuration handling.
v0.5.0
2024-05-12 20:06:23 +02:00
Thilo Graf
dc119f2cab local.conf.common.sample: allign to changed neutrino recipe name and API-keys 2024-05-11 20:24:07 +02:00
Thilo Graf
f058f2dc4f readme: update readme 2024-05-11 20:22:26 +02:00
Thilo Graf
f610523694 init: Remove DIST_URL
Resolve ambiguity of DIST_URL with explicit assignment to UPDATE_SERVER_URL
2024-05-03 22:06:09 +02:00
Thilo Graf
a8123d868a update Readme 2024-05-03 20:59:33 +02:00
Thilo Graf
1c8c28d6fe init.sh: Refactor script configuration and directory paths
- Update DIST_BASEDIR assignment to use $DIST_DIR for improved
  clarity and consistency in directory management.
- Rename HTTPD_DIST_HOSTNAME and HTTPD_DIST_DIR to
  UPDATE_SERVER_URL and DIST_DIR respectively, across the script to
  better reflect their purpose and usage.
- Introduce LOCAL_CONFIG_FILE_INC_PATH variable initialization in
  the global scope for enhanced script modularity and maintainability.
- Adjust getopt configuration to align with the renamed and newly
  introduced variables.
2024-03-25 21:30:04 +01:00
Thilo Graf
e5e068c9c6 init.sh: fix typo 2024-03-25 20:13:45 +01:00
Thilo Graf
5a6564cfa1 init_funtions.sh: remove invalid option from unlink 2024-03-25 19:47:46 +01:00
Thilo Graf
17c788f0b6 init.sh: update instructions 2024-03-25 19:43:26 +01:00
Thilo Graf
2528ed229f update Readme 2024-03-13 17:51:44 +01:00
Thilo Graf
b4102b8629 init.sh: add reset feature 2024-03-04 10:54:20 +01:00
Thilo Graf
f81a5a4f4c refactor script v0.4.0 2024-03-03 20:05:09 +01:00
Thilo Graf
1ab259dc19 init: disable osmio machines
not really supported, local test not possible
v0.3.0
2024-02-06 10:20:25 +01:00
Thilo Graf
36fa4881ac config.sample: rework some version features 2024-02-06 10:20:25 +01:00
Thilo Graf
035d55be1e init: adopt init of local configs for hd6x machines 2024-02-06 10:20:25 +01:00
GitHub Actions
a02717be46 readme: Automatically translated README to English 2023-09-18 08:07:27 +00:00
Thilo Graf
fd6946add0 readme: simplify init command 2023-09-18 10:05:13 +02:00
Thilo Graf
8db6d9ff5a .github: add fix for anchor after translation 2023-09-18 09:54:59 +02:00
Thilo Graf
1c2ea27e48 readme: update init command 2023-09-18 09:19:16 +02:00
GitHub Actions
7364c023f3 readme: Automatically translated README to English 2023-09-17 11:49:39 +00:00
Thilo Graf
be593b9280 readme: add hint for libcapstone package version 2023-09-17 13:43:49 +02:00
GitHub Actions
cdc0a66024 readme: Automatically translated README to English 2023-09-16 19:58:40 +00:00
Thilo Graf
1fab14c1b1 readme: fix anchor and add new clone url 2023-09-16 21:58:12 +02:00
Thilo Graf
7cc95f244c .github: add translate workflow 2023-09-16 21:57:56 +02:00
Thilo Graf
c99b2c81a5 local.conf.common.inc.sample: add --without-debug into sample config
This allows to control debug mode for neutrino build.
2023-05-16 11:37:30 +02:00
Thilo Graf
7192612c65 init: remove backticks for better readability 2023-05-01 15:45:01 +02:00
Thilo Graf
118bf41374 local.conf.common.inc.sample: Use defauls for numbers of threads and make
Build system already calculates the optimized values.
2023-05-01 14:45:40 +02:00
Thilo Graf
f6013c24f8 local.conf.common.inc.sample: add some notes for git configuration
More detailed description
2023-05-01 14:43:52 +02:00
Thilo Graf
af32875a90 Readme: supplement to Update README-de.md
README-en.md was not considered
btw. git clone https://github.com/dbt1/build.git is still valid.
It was only renamed because there was a risk of confusion since the
directory build/<machine> was named very similarly.
2023-05-01 14:30:49 +02:00
Yoshi1981
a57049b8ff Update README-de.md
Signed-off-by: Thilo Graf <dbt@novatux.de>

README-en.md is not considered
2023-04-12 18:15:24 +02:00