Commit Graph

177 Commits

Author SHA1 Message Date
Igor Pecovnik 5216e732cd Revert "add in cache to the image, allowing caching in customize image step"
This reverts commit 9eaa276457.
2025-05-15 16:43:51 +02:00
Ben Hoff 9eaa276457 add in cache to the image, allowing caching in customize image step 2025-05-14 17:19:23 +02:00
Franklyn Tackitt 58a3d74eec fix: update jq in apt-utils to use filter arguments
This fixes the issue where jq sometimes fails to compile the filter when parsing
base-files.json
2025-04-19 07:56:05 +02:00
Igor Pecovnik 4530b26278 Revert "Stop altering global git config file and set safe per cloned repository"
This reverts commit ccde662ccb.
2025-03-16 17:26:49 +01:00
Igor Pecovnik ccde662ccb Stop altering global git config file and set safe per cloned repository 2025-03-16 11:53:56 +01:00
Ricardo Pardini 370f85b067 python3: do not rely on hostdeps python3-pip nor python3-dev; deploy pip via get-pip.py
- python3-pip implies a very old setuptools (which is system-wide and takes precedence)
- python3-dev implies python3-distutils (which is long deprecated)
- get-pip.py allows us to version pip in requirements.txt just like everything else
- in the end this fixes the conundrum with pylibfdt / dtschema on Jammy
- and, finally, the setuptools we specify in requirements.txt will be actually used
2025-02-24 09:21:53 +01:00
github-actions[bot] 7ea4cb3b8d
tools: Bump `BATCAT_VERSION` from 0.24.0 to 0.25.0 (#7706) 2025-01-21 13:28:56 +01:00
igorpecovnik 1557c9fcf0 tools: Bump `ORAS_VERSION` from 1.2.1 to 1.2.2 2025-01-21 13:28:08 +01:00
Ricardo Pardini f21e700dc6 git: squash spurious warning when checking safe.directory 2025-01-21 13:25:36 +01:00
igorpecovnik b1232edaa2 tools: Bump `ORAS_VERSION` from 1.2.0 to 1.2.1 2024-12-31 11:52:48 +01:00
amazingfate b11a6fd872 apt-utils: fix hard-coded GHPROXY_ADDRESS 2024-12-18 21:03:51 +01:00
Ricardo Pardini 6d9a06bf72 shellfmt: lib/functions; no changes 2024-11-25 11:32:28 +01:00
Igor Pecovnik 0b656192a9 Switch to action artifacts that was moved to .org 2024-11-20 15:22:21 +08:00
amazingfate e1815dfeb7 apt-utils.sh: get base-files package version from GHA 2024-11-20 15:22:21 +08:00
IsMrX dfe8fc39e8 Enable oras pull to use system proxy 2024-09-13 22:02:17 +02:00
Ricardo Pardini e4032228dd oci-oras: fix for ORAS > 1.x, as it now requires `HOME` to be set (fixes `download-artifact`)
- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes https://github.com/armbian/build/pull/6964
2024-07-21 10:24:23 +02:00
igorpecovnik e5fe080b0a tools: Bump `BATCAT_VERSION` from 0.23.0 to 0.24.0 2024-07-20 09:15:13 +02:00
igorpecovnik f1e63eb8df tools: Bump `ORAS_VERSION` from 0.16.0 to 1.2.0 2024-07-20 09:14:56 +02:00
igorpecovnik 984050a2df tools: Bump `SHELLCHECK_VERSION` from 0.9.0 to 0.10.0 2024-07-20 09:14:06 +02:00
Viacheslav Bocharov d73c4cefab Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-04 21:35:26 +02:00
Igor Pecovnik f4555df0ba Revert "git: git_ensure_safe_directory(): use env vars instead of changing config"
This reverts commit 11245601d0.
2024-07-03 17:31:05 +02:00
Ricardo Pardini 11245601d0 git: git_ensure_safe_directory(): use env vars instead of changing config 2024-07-03 06:49:56 +02:00
Gunjan Gupta cea2fc5b46 Lets not spam users with error message on fresh checkout 2024-06-27 23:14:15 +02:00
ColorfulRhino 9ff35b77b9 cli: python-tools: Add toolchain to PATH to fix building wheels 2024-06-25 18:11:43 +02:00
ColorfulRhino 7aadb808e1 cli: python-tools: Use requirements.txt file for Pip dependencies
This makes dependencies easier to track and opens up the possibility for Dependabot to update them.
2024-06-25 07:06:21 +02:00
ColorfulRhino de81f10b0d cli: Add command "dts-check"
Validates the dts/dtb file for the selected board and outputs the validation logs to the user.
This can be used when adding a new board, developing or improving a dts file. Should lead to higher quality device trees and patches overall, if used.
Will show warnings/errors if patches patch in some functionalities to a devicetree file without patching in the dt-bindings .yaml at the same time.
2024-06-25 07:06:21 +02:00
ColorfulRhino 663530dcf6 python-tools: Bump pip dependencies to their latest versions
No new major versions
2024-06-25 07:06:21 +02:00
Igor Pecovnik 75ce67f329 Run shellfmt to complete code 2024-06-22 19:22:24 +02:00
ColorfulRhino 497c6dce0e extension: net: Refactor, fix and improve network extensions
- Rename extensions with "net-*" prefix
- Put the extensions into their own folder
- Split off time sync packages into their own extensions to be able to be used separately
- Put their config files into directories instead of using inline `cat <<- EOF >`
- Move some other NetworkManager related stuff into the extension
- Remove unneeded steps
- Install iproute2 by default on all images (for the `ip` command)
2024-06-20 19:59:52 +02:00
Gunjan Gupta 1f22aa4977 limit git-sources.json file generation to specific commands 2024-05-21 20:26:33 +02:00
Gunjan Gupta 7dabd9300d Add ability to freeze git resources 2024-05-10 13:24:18 +01:00
Igor 07800f9a4a Revert "python-tools: Bump pip dependencies to their latest versions"
This reverts commit c46e99ec60.
2024-04-26 20:46:42 +08:00
Igor aa9fea7797 Revert "cli: Add command "dts-check""
This reverts commit 54618c1bd3.
2024-04-26 20:46:42 +08:00
ColorfulRhino 54618c1bd3 cli: Add command "dts-check"
Validates the dts/dtb file for the selected board and outputs the validation logs to the user.
This can be used when adding a new board, developing or improving a dts file. Should lead to higher quality device trees and patches overall, if used.
2024-04-26 18:18:56 +08:00
ColorfulRhino c46e99ec60 python-tools: Bump pip dependencies to their latest versions
No new major versions
2024-04-26 18:18:56 +08:00
Ricardo Pardini a2c81c22e8 batcat: skip running batcat, with a warning, if running on riscv64
- someone go add riscv64 to https://github.com/sharkdp/bat
2024-04-07 13:23:34 +02:00
Ricardo Pardini fd7003125e shellcheck: skip running shellcheck, with a warning, if running on riscv64
- someone go add riscv64 to https://github.com/koalaman/shellcheck
2024-04-07 13:23:34 +02:00
Ricardo Pardini 9bef0a5e5a oci-oras: use ORAS `1.2.0-beta.1` for riscv64 2024-04-07 13:23:34 +02:00
Ricardo Pardini 71753f4b3b python-tools: bump PyYAML to 6.0.1 to fix build failures on sid/trixie/noble etc 2024-03-03 16:07:19 +01:00
Darsey Litzenberger ce33bddb58 Make the colorized build output readable on a light background
This fixes the readability of colorized output of compile.sh when
running on a terminal with a light background.  It uses the COLORFGBG
environment variable similarly to how the ip(8) command does.

Signed-off-by: Darsey Litzenberger <dlitz@dlitz.net>
2024-02-09 19:38:03 +01:00
Gunjan Gupta 218f54dc28 Fix git_ensure_safe_directory function again
The command added to check whether the directory is git or not was
having syntax error. Fixed the same. Also it seems adding safe-directory
with local doesn't really work which actually makes sense. hence
reverting to using global instead. Its still safer than before as
we are not adding * and are adding the actual path of the directory
2024-02-03 04:50:42 +05:30
Igor Pecovnik 6b42f34b73 Add additonal check before running git command 2024-01-26 22:11:14 +01:00
Igor Pecovnik 12910e0d37 Fixes poorly made Git safe.directory workaround 2024-01-26 21:28:05 +01:00
amazingfate 64094ee20e fix gitee mirror 2024-01-22 21:17:15 +01:00
Igor Pecovnik 18ba950f38 Enable support for extensions within USERPATCHES_PATH 2023-12-29 23:37:10 +01:00
Andrew Davis 33d8026508
Use TI kernel for K3 family with current v6.1.y (#5999)
* Add git.ti.com to memoized_git_ref_to_info() as a generic cgit

Like kernel.org, git.ti.com uses cgit. We might want to change this logic to
accept the git hosting type (cgit, gitlab, github, etc..) and not match only
on known repo urls. For now just add this repo url to the known list.

* K3: Switch current to TI vendor kernel v6.1.y

* K3: Bump edge to kernel v6.6.y
2023-12-05 12:50:40 +01:00
Ricardo Pardini 67b3e0dd07 git: fetch_from_repo(): introduce FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE
- function defined in FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE is called if reference is mutable
  - which is anything that's not `commit:` or `tag:`
    - and really there's no guarantee that `tag:` is immutable, but lets assume
2023-11-25 13:38:10 +01:00
amazingfate 81c460e3bf use GHPROXY_ADDRESS to customize ghproxy url 2023-11-21 17:06:14 +01:00
Ricardo Pardini 1e184f14af core extensions: fix: don't redefine extension_function_info when recursing
- otherwise when there's a chain of enable_extension() we lose the original info
2023-11-19 22:31:33 +01:00
Ricardo Pardini 91094149de base-files / apt-utils: stop trying non "-updates" repos when looking for Ubuntu LTS release package
- otherwise, when the lookup at "jammy-updates" fails (due to server instability), and "jammy" works, we end up with the wrong version
- non-LTS releases don't have the "-updates" repo, so don't even try, which should make everything faster
- TODO: yet-another opportunity to have a release metadata file, otherwise this is yet-another place where we list "jammy"
2023-10-21 13:58:37 +02:00