Commit Graph

1233 Commits

Author SHA1 Message Date
coderabbitai[bot] a3686900bd
📝 Add docstrings to `wip-APA-canary-handle-GPG-keys`
Docstrings generation was requested by @leggewie.

* https://github.com/armbian/build/pull/8316#issuecomment-2994129599

The following files were modified:

* `extensions/apa.sh`
* `lib/functions/rootfs/distro-specific.sh`
2025-06-22 11:20:16 +00:00
Werner e9b20c3ed5
AE for cloud, add description for vendor (#8299)
* AE for cloud, add description for vendor

* fixes
2025-06-15 04:40:07 +00:00
Werner 15407330c6
Preparation for http proxy caching (#8281)
* always use http for apt repos

* pass possible proxy arguments to docker

* populate lower-case env variables with upper-case ones if not set otherwise
2025-06-13 10:31:24 +02:00
Igor Pecovnik aa5526a918 Signing key: keep a link to previous location
armbian-config still uses old location and as we don't control keys via package, we need to apply this workaround for newly created images
2025-06-09 09:33:46 +02:00
Ayush Singh c0da65087a compilation: armbian-kernel: Do not make built-in drivers modules
The current script can overwrite drivers which are set as built-in in
the board-specific config. This is not desirable.

Add a check to ensure we do not convert built-in stuff into modules.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-06-08 18:08:33 +02:00
The-going b571ceb46f sunxi: xradio: Switching from del_timer_sync to timer_delete_sync
This was introduced in 6.2 but was removed from the kernel code
in 6.15.
We are currently building cores for sunxi starting from 6.6.
Therefore, a simple replacement without conditions.
2025-06-08 18:04:25 +02:00
The-going 8762476502 patch: misc: uwe5622: fix timer api changes for 6.15 (only sunxi) 2025-06-08 18:04:25 +02:00
The-going 699816ddf2 config-prepare: Initialize an empty KERNEL_DRIVERS_SKIP array unless it exists
If the array exists in this location, initializing an empty array
will destroy all the data that was stored in it.
Do not initialize an empty KERNEL_DRIVERS_SKIP array if it exists.

This allows us to create an array anywhere in the script,
including the user configuration, in a secure way.
2025-06-08 18:04:25 +02:00
Ricardo Pardini c8baf1c888 runners.sh: introduce `chroot_sdcard_custom_with_apt_logic()` for reuse
- we've too much logic in `chroot_sdcard_apt_get()` we need to re-use
  for eg debfoster or any extensions that need to manipulate the apt
  cache (which is handled via mounts in that function)
- `chroot_sdcard_apt_get()` now accepts a `chroot_command` env var,
  defaulting to `apt-get`
- `chroot_sdcard_custom_with_apt_logic()` splits the params and calls
  `chroot_command=... chroot_sdcard_apt_get ...` allowing for custom
  calls
2025-06-03 09:57:19 +02:00
djurny 0f4303651f Rework after review prepare-host.sh
Use all parameters to display_alert()
```
[🐳|🌱] Running in container [ Adding provisions for container building ]
[🐳|🌱] Adding package to 'host_dependencies' [ python3-setuptools ]
[🐳|🌱] Python2 not available on host release 'noble' [ ancient u-boot versions might/will fail to build ]
```
2025-06-03 09:56:09 +02:00
Tom Urlings 826309f7bc rockchip64/rk3328: U-Boot v2022.04/07 add setexpr
- aimed at nanopi-r2s and nanopineo3
- impacts:
  - boards (re)using 'nanopi-r2s-rk3328_defconfig' (rk3328)
  and:
  - boards using U-Boot v2022.04 or
  - boards using U-Boot v2022.07
- added explicit dependency on python3-setuptools as (at least) U-Boot
  v2022.04 and v2022.07 fail building due to missing 'distutils' for
  boards that use U-Boot v2022.04 or v2022.07
2025-06-03 09:56:09 +02:00
Rolf Leggewie 81d65b09b9 lib distro-specific.sh: move armbian GPG to more common location 2025-05-30 04:06:39 +08:00
Andrei Aldea d824a53b58 Add Kernel Version Parsing and Custom Description
Adds ability to set custom descriptions for kernel inside family config and parses for kernel version.
2025-05-29 19:30:15 +02:00
Ricardo Pardini 39fef63e73 kernel-debs: if `make clean` fails (logs to bitbucket), do it again, but show the logs 2025-05-29 18:32:47 +02:00
Ricardo Pardini d4945ec071 artifacts-obtain: pack_artifact_to_local_cache: force a fsync() before packing 2025-05-29 18:31:50 +02:00
Ricardo Pardini 03c47689cb docker: 50%+ faster during "enabling all extensions looking for Docker dependencies"
- 7s+ -> 3s
- by using `enable_extensions_with_hostdeps_builtin_and_user "add_host_dependencies" "host_dependencies_known"` instead of `enable_all_extensions_builtin_and_user`
2025-05-29 17:58:28 +02:00
Ricardo Pardini 10570df804 extensions: introduce `enable_extensions_with_hostdeps_builtin_and_user()`
- this is an alternative to `enable_all_extensions_builtin_and_user()`
- this one greps the files for the hooks we're interested in
2025-05-29 17:58:28 +02:00
Ricardo Pardini fa0d9ab820 rootfs-to-image: do not use --sparse, it's _very slow_ on certain IO/FS combos
- Revert "rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync"

This reverts commit 4fd0e0c29d.
2025-05-29 17:55:27 +02:00
Ricardo Pardini 53e72aae25 drivers_network: fix uwe5622 for kernel 6.15
- just a ton of hackfixes ref e4c416533f
2025-05-29 09:33:29 +02:00
Ricardo Pardini 76e3e203a9 drivers_network: driver_rtl8723DS: use `armbian/rtl8723ds` instead of domin144's fork
- there's a fork under Armbian org now for this driver
2025-05-29 09:33:29 +02:00
Dominik Wójt 96b9fad8c3 drivers_network: fix some wlan drivers compilation 6.15 kernel 2025-05-29 09:33:29 +02:00
Igor Velkov 5815951516 Work if no customize-image.sh file present 2025-05-27 15:43:00 +02:00
alex3d df6a133a14 partitioning: fix compressed BTRFS creation 2025-05-18 17:43:21 +02:00
Viacheslav Bocharov 9555f7ef62 Update Realtek RTL8822CS external driver 2025-05-16 19:01:14 +02:00
igorpecovnik 384daea694 tools: Bump `ORAS_VERSION` from 1.2.2 to 1.2.3 2025-05-16 19:00:58 +02:00
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
Igor Pecovnik 4dc9b00fb0 Framework: switch Docker default image to Noble 2025-05-14 11:59:12 +02:00
Ricardo Squassina Lee c897044aeb Update prepare-host.sh
migrate to ntpsec-ntpdate as a more secure implementation of ntpdate and available in Debian and Ubunbtu
2025-05-12 16:54:24 +02:00
Franklyn Tackitt 4a8199b992 partitioning: Use btrfs set-default MOUNT/subvolume
This simplifies the code, removing the need to grep/cut the output of btrfs subvolume list
2025-05-05 06:15:50 +02:00
Franklyn Tackitt 76470b1dad partitioning: Rely on the btrfs default subvolume for remounting
This allows changes to the default subvolume in `btrfs_root_add_subvolumes`
 to propagate as needed into the final image.
2025-05-05 06:15:50 +02:00
Franklyn Tackitt 9f37e55980 partitioning: Add BTRFS_ROOT_SUBVOLUME switch
This allows changing the default root subvolume from @ to any user
 defined subvolume name
2025-05-05 06:15:50 +02:00
FantasyGmm 76229701ca Adding Variables to Set the Sector Size for UFS Devices 2025-04-19 13:19:13 +02:00
Werner 1c0e3c9b0d Update prepare-host.sh
I don't know. This doesn't feel right. The package exists in Jammy, Noble and Bookworm in both amd64 and arm64 variants so should be good...though it is probably not needed in all constellations. 
Still it is part of the toolchain and not generic packages. If this gets merged as it is this should be revisited.
2025-04-19 13:18:55 +02:00
EvilOlaf f365339980 add new host build dependency for noble 2025-04-19 13:18:55 +02:00
Werner 204c646cc6 rockchip64: fix atf build, bump ATF to latest tag 2025-04-19 13:18:55 +02:00
Werner 11c285872e
Fix ORAS tooling download due to absense of `wget` (#8104)
* move `wget` to basic deps
* fix spaces
2025-04-19 13:17:31 +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 Velkov ab6587ac05 If rootfs placed on btrfs filesystem, place root on @ subvolume
It makes possible to work with snapshots of a root filesystem
2025-04-16 23:33:07 +02:00
Werner 554580ae34 copy example config at first start 2025-04-16 23:32:14 +02:00
JohnTheCoolingFan 5795f7202a Fix rtl8189fs driver commit version
Used the commit of the same date which is currently the head of the
`rtl8189fs` branch. The issue was that the rtl8189es `master` branch was
used.
2025-04-12 17:25:21 +03:00
Igor Pecovnik 451547b0d4 Add VENDOR color to BSP and artifacts hashing 2025-03-31 21:37:55 +02:00
Ricardo Pardini 4aa306c740 drivers_network: bump rtl8812au for 6.14.y
- https://github.com/aircrack-ng/rtl8812au/pull/1226 landed
2025-03-31 21:37:24 +02:00
Ricardo Pardini 454c49626d Revert "drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)"
This reverts commit 6b74df6f2c.
2025-03-31 21:37:24 +02:00
Igor Pecovnik 9c206d0175 Drop examples as they are not needed for hooks 2025-03-31 20:50:39 +02:00
coderabbitai[bot] bd5bf38593 📝 Add docstrings to `netkit`
Docstrings generation was requested by @igorpecovnik.

* https://github.com/armbian/build/pull/8036#issuecomment-2766658224

The following files were modified:

* `lib/functions/compilation/armbian-kernel.sh`
2025-03-31 20:50:39 +02:00
Igor Pecovnik f029ab11c4 Enable NETKIT feature for all armbian-kernels => 6.7 2025-03-31 20:50:39 +02: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