Commit Graph

34 Commits

Author SHA1 Message Date
Thilo Graf
1528ca7279 init.sh: switch clone url of yoctoproject to faster github mirror 2025-03-29 20:42:43 +01:00
Thilo Graf
48ec25e2e4 init.sh: fix wrong information for update 2025-02-14 22:21:58 +01:00
Thilo Graf
0c17141c15 init.sh: add miising bracket 2025-02-13 20:05:22 +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
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.
2024-05-12 20:06:23 +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
17c788f0b6 init.sh: update instructions 2024-03-25 19:43:26 +01:00
Thilo Graf
b4102b8629 init.sh: add reset feature 2024-03-04 10:54:20 +01:00
Thilo Graf
f81a5a4f4c refactor script 2024-03-03 20:05:09 +01:00
Thilo Graf
1ab259dc19 init: disable osmio machines
not really supported, local test not possible
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
Thilo Graf
7192612c65 init: remove backticks for better readability 2023-05-01 15:45:01 +02:00
Thilo Graf
3ece5019d6 switch to 3.2.4 2022-11-13 15:01:49 +01:00
Thilo Graf
6f9a3e5d5f init: add meta-ceryon 2022-11-12 19:21:26 +01:00
Thilo Graf
512fd26b8c init: more reworks, update server urls 2022-10-25 21:17:16 +02:00
Thilo Graf
06dc131957 init: remove comment line 2022-10-25 21:13:18 +02:00
Thilo Graf
417adaae42 init: more reworks 2022-09-08 19:58:14 +02:00
Thilo Graf
8853288746 init: init functions outsourced 2022-09-07 13:03:14 +02:00
Thilo Graf
d0b46d9d66 init: use own directory for config backups 2022-09-07 10:56:10 +02:00
Thilo Graf
b3bf207181 init: allow modifyiing bblayer.conf files
required for possible new layers and migration
2022-09-07 07:26:59 +02:00
Thilo Graf
60951020ac init: add TIMESTAMP variable 2022-09-06 13:50:57 +02:00
Thilo Graf
3274d534f4 init: rearrange clone output 2022-08-26 08:46:59 +02:00
Thilo Graf
bba6f1757a rework script for more required layers and configurations 2022-08-23 11:08:19 +02:00
Thilo Graf
e6adc400ae init: prepare for bre2ze4k 2022-06-12 14:17:53 +02:00
Thilo Graf
5a69bca0b3 Update init.sh 2022-03-15 20:04:38 +01:00
Thilo Graf
f0a324cf8c init.sh: add link to source doc directory 2021-10-13 17:24:02 +02:00
Thilo Graf
e843103372 init: update to latest gatesgarth revision 2021-09-06 14:26:14 +02:00
Thilo Graf
5e68f8ae32 update poky 3.2.2 -> 3.2.4 gatesgarth 2021-05-30 19:45:23 +02:00
Thilo Graf
adf32c85ae init.sh: add missing call for meta-qt5 update 2021-04-27 17:35:01 +02:00
Thilo Graf
09538c7a69 init: allow update to defined yocto release
Update via ./init.sh will now clone and update to defined and testet
yocto release.
A general update is disabled with variable $YOCTO_LAYER_DO_UPDATE=0
Reason: yocto recomends not to modify any parts of the yocto repositories. becaus all
Local changes can be done in your local layers e.g. with bbappend files.
see also: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#using-bbappend-files

Another point is, the defined relase version is tested and should working
with our build.
2021-04-22 11:24:43 +02:00
Thilo Graf
be25daedbc init: avoid update to untested upstream branch
update of yocto layer is disabled on executing init script, for yocto oe it's better to use a tested tag, defined with $YOCTO_BRANCH_HASH
2021-04-13 12:40:12 +02:00
Thilo Graf
1582a34f8b init.sh: add meta-qt5 2021-04-05 16:30:23 +02:00
Thilo Graf
9be5fd6f1e initial commit 2020-12-29 16:07:16 +01:00