Commit Graph

2449 Commits

Author SHA1 Message Date
coderabbitai[bot] afe362f484
📝 Add docstrings to `main`
Docstrings generation was requested by @leggewie.

* https://github.com/armbian/build/pull/8027#issuecomment-2763300084

The following files were modified:

* `lib/functions/host/prepare-host.sh`
2025-03-29 12:21:20 +00:00
Mecid a322285cfb Replace bsdmainutils with bsdextrautils 2025-03-28 12:38:01 +01:00
Mecid 322f86ff69 Add bsdmainutils to host dependencies in prepare-host.sh
for mac80211 in 6.14 which failed requiring hexdump
2025-03-28 12:38:01 +01:00
Igor Pecovnik a0c35c73a6 Add support for MOTD logo colors
- we might want to have different welcome colors for stable and nightly images
- this adds another branding option alongside with VENDOR, VENDORURL, VENDORSUPPORT, ...
2025-03-28 12:36:52 +01:00
Igor Pecovnik c20fba9908 UEFI: add cloud kernel under cloud branch 2025-03-27 19:24:07 +01:00
coderabbitai[bot] e4c7d24229 📝 Add docstrings to `armbiankernel`
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8014#issuecomment-2755642576

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-27 12:50:03 +01:00
Igor Pecovnik eb62028fa0 Armbian kernel: add ZRAM and DOCKER configurations
Those two are present in all kernels
2025-03-27 12:50:03 +01:00
Paolo Sabatino 7c55b4fce9 bump rockchip 32bit edge kernel to v6.14 2025-03-26 22:23:29 +01:00
Ricardo Pardini 6b74df6f2c drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)
- revert this and update sha1 after https://github.com/aircrack-ng/rtl8812au/pull/1226 lands
2025-03-26 10:05:36 +01:00
Ricardo Pardini 94bab3bb81 drivers_network: bump rtl88x2cs for 6.14.y
- ref https://github.com/jethome-ru/rtl88x2cs/pull/13 (done, thanks adeepv)
2025-03-26 10:05:36 +01:00
Ricardo Pardini 3777676009 drivers_network: bump rtl8189es/rtl8189fs/rtl8812au/rtl8811cu/rtl88x2bu for 6.14.y 2025-03-26 10:05:36 +01:00
Ian Goodacre 86ea59c378 Fix patching.sh to include untracked (new) files in patch 2025-03-23 20:50:33 +01:00
Rolf Leggewie 5e8ab3ae8b BSP: make -cli packages provide the armbian-bsp-cli virtual package 2025-03-23 20:49:51 +01:00
Rolf Leggewie 09267e3b5d nitpick: spell check s/neeeded/needed/ 2025-03-19 22:24:48 +01: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
igorpecovnik 19b0a062a7 tools: Bump `SHELLFMT_VERSION` from 3.10.0 to 3.11.0 2025-03-16 11:53:12 +01:00
Igor Pecovnik 3199178c70 Multiple sources fix: after changing to deb822 we forgot on leftovers
- deboostrap still uses old ways and we need to remove this file
- when displaying the content of sources, we need to look correct file
2025-03-05 10:40:48 +01:00
amazingfate 47381df472 wireless: fix build with kernel 6.14 2025-02-26 21:40:01 +08:00
Igor Pecovnik b47d408ff7 After changing apt lists methodology, we need to rebuild rootfs cache 2025-02-24 12:43:04 +01:00
Blieque Mariguan 8e75c8ebd1 feat: Use deb822 APT sources
- Replace `armbian.list` with `armbian.sources`. This holds the same
  information in a newer format, deb822.
- Replace HTTP with HTTPS for Armbian repositories.
2025-02-24 09:23:11 +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
Ricardo Pardini 0c7596bd5a export-logs: use multiple paste servers in order until one works
- user can override by setting PASTE_SERVER_HOST=some.paste.server.com
2025-02-22 22:35:45 -03:00
amazingfate 94949aec8a kernel: fix for 6.14 make clean fail at tools dir due to upstream dir change 2025-02-22 23:19:31 +08:00
Igor Pecovnik ec2544e005 Bugfix: Remove directories from sha files 2025-02-10 20:17:25 +01:00
Ricardo Pardini 51b300ebdf armbian-kernel.sh: introduce `KERNEL_BTF=no` to opt-out of BTF/CO-RE type-info on low-RAM machines
- turns out `pahole` for `vmlinux` can take multiple gigabytes of RAM to run successfully
- I can't simply decide based on available RAM, as that would make .config hashes mismatch
- thus, introduce:
  - default is to enable BTF; if on low-ram host, error out unless KERNEL_BTF=yes is passed
  - if KERNEL_BTF=no is passed, the BTF debug info is always disabled
  - if KERNEL_BTF=yes is passed, then a warning is produced, but BTF is still enabled
- the magic number "6451 MiB" was determined empirically (and is probably bs)
2025-02-09 15:55:28 +01:00
Blieque Mariguan 3743daffa2 feat: Use deb822 APT source for armbian-config
- Replace creation of `armbian-config.list` with
  `armbian-config.sources`. This holds the same information in a newer
  format, deb822. This does not affect `armbian.list`.

See also: https://github.com/armbian/configng/pull/407
2025-02-04 18:49:52 +01:00
Igor Pecovnik 1477b478c5 Add upstream release as csc target: Ubuntu plucky 25.04 2025-01-23 18:30:49 +01:00
Lane Jennison de97c74ae5 disable ccache in a friendly way 2025-01-23 15:12:27 +03:00
amazingfate d4b5c30e09 wifi drivers: update commit id of rtl8811cu and rtl88x2bu 2025-01-22 10:01:37 +01:00
amazingfate 1f92b07c38 wireless: fix build with kernel 6.13 2025-01-21 19:35:49 +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
Ricardo Pardini 2f2c81744a kernel: call oldconfig _after_ kernel config hooks; add hook for `CONFIG_CFG80211=m` and `CONFIG_MAC80211=m` on 6.13+
- we need to run the hooks _before_ running oldconfig, otherwise it is too late
- drop `kernel_config_check_and_repair()` since it won't ever detect anything now
2025-01-21 13:25:11 +01:00
amazingfate 611746bfc2 Revert "armbian-kernel: skip enabling BTF for rk35xx vendor kernel"
This reverts commit b17e9e5db1.
2025-01-21 13:24:58 +01:00
Igor 4e33412ec2
Refactor armbian-config into install as external package (#7716)
* Refactor armbian-config into install as external package

- https://github.armbian.com/configng repository is always present
- package can still be removed from the install list

Since this tool will have deeper integration with Armbian, we should probably drop possibility to remove the tool from the list.

* Enable armbian-config as extension
2025-01-20 14:23:28 +01:00
Igor Pecovnik f8e1b443f1 3rd party wifi: partially revert rtl8811cu driver as it breaks on K6.6 2025-01-19 21:49:41 +01:00
Igor Pecovnik dc558d7c01 UEFI kernels, legacy = 6.6, current & edge 6.13 2025-01-19 20:21:52 +01:00
Ricardo Pardini c469eeba7a hooks: introduce `post_armbian_repo_customize_image` and `post_repo_customize_image`
- `post_repo_customize_image`: runs after repos have been enabled
- `post_armbian_repo_customize_image`: same, but only if Armbian repo is enabled
- both run after apt update, so packages can be directly installed from repos
2025-01-19 20:21:11 +01:00
amazingfate 09dc5b0d9d dockerproxy: update GHCR_MIRROR_ADDRESS 2025-01-17 16:35:28 +03:00
amazingfate f4457a3df5 ghproxy: update GHPROXY_ADDRESS to ghfast.top 2025-01-15 11:36:45 +08:00
amazingfate b17e9e5db1 armbian-kernel: skip enabling BTF for rk35xx vendor kernel
fix minor typo by @EvilOlaf
2025-01-14 19:43:44 +08:00
Viacheslav Bocharov 245c74acbb update rtl8822cs driver link to latest commit (update for kernel 6.13+)
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-01-14 12:10:07 +03:00
Igor Pecovnik 5cc3e2e872 Fix handling loop devices 2025-01-08 13:17:47 +01:00
Ricardo Pardini fdde912ebf uboot: debug u-boot directory contents before/after patching
- with DEBUG=yes, allows us to see what is leftover in directory during builds
- with new cleaning in separate commit, there shouldn't be any leftovers _at all_
2025-01-05 16:38:43 +01:00
Ricardo Pardini 79db9984f1 uboot: completely clean before building each target; slower but correct
- with this, every u-boot build will be a full rebuild.
  - still, building u-boot is pretty fast
  - and it is better to be a bit slower and actually produce correct results
2025-01-05 16:38:43 +01:00
Ricardo Pardini 7aeb48f172 u-boot: add per-target and general metadata files to u-boot package
- incl some indicative fdt/extlinux/gpt info
- include full config and defconfig for each target
- mark the old .config file as legacy (it was always the last-target's config)
- fix: savedefconfig after build, not before (as target_map might change it)
- fix: some very old u-boots (2011, odroidc1) do not have `savedefconfig` at all, so make it optional
- fix: same for `.config` -- very old u-boots worked different (`boards.cfg`?)
2025-01-05 16:38:43 +01:00
Tim Surber 7c5f95ef8c bump arm trusted firmware to 2.12 for rockchip64 2025-01-05 10:29:54 +01:00
Ricardo Pardini 87ceaaf635 kernel-debs: headers: postinst: switch from `oldconfig` to `olddefconfig` for less messy output; better logging 2025-01-05 10:24:30 +01:00