Commit Graph

2616 Commits

Author SHA1 Message Date
tabris
d824596c62 remove wget from build-host basic-deps 2025-10-17 19:33:20 +02:00
tabris
76403b4d3f build machinery - replace wget with curl cuz reasons 2025-10-17 19:33:20 +02:00
Migelo
3ad0696e00 armbian-kernel.sh enable zram compression backends: LZ4, LZ4HC, ZSTD, DEFLATE, 842, and LZO 2025-10-17 17:54:55 +02:00
tabris
09160da3b9 build machinery - fixup compilation for uboot/atf BRANCH=edge, pass --no-warn-rwx-segments to linker, not compiler 2025-10-14 00:00:38 +02:00
Viacheslav Bocharov
e6679e6bb3 update rtl88x2cs external driver for kernel 6.18+
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-10-13 23:53:15 +02:00
Igor Pecovnik
ddf1337ca4 Add Wi-Fi injection patch for Linux 6.12 kernels. 2025-10-11 14:04:48 +02:00
Viacheslav Bocharov
8325404b25 Update rtl88x2cs driver commit hash for kernel 6.17+
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-10-09 17:39:24 +03:00
Werner
851683566d
don't fail distro agnostic sshd adjustments when config is not found (#8729)
* don't fail ssh distro agnostic when openssh is not used

* addressing rabbit nit-pick

reasonable

* fix wording

Co-authored-by: tabrisnet <96966042+tabrisnet@users.noreply.github.com>

---------

Co-authored-by: tabrisnet <96966042+tabrisnet@users.noreply.github.com>
2025-10-09 14:45:44 +02:00
Ricardo Pardini
ffead65d12 drivers_network: disable 6.17+ for rtl8811_rtl8812_rtl8814_rtl8821, rtl8811CU_rtl8821C and rtl88x2bu
- two of those were already marked to be removed 6.12+
- for those in need: send fix upstream, wait for merge, update here and re-enable
- in case upstream abandoned: fork and fix, update here and re-enable
2025-10-06 23:40:09 +02:00
Paolo
35629f641e
Bump rockchip64-edge kernel to 6.17 (#8703)
* bump rockchip64 edge kernel to 6.17

* update rockchip64 edge kernel config to 6.17

* Fixes for wireless drivers for rockchip64-edge 6.17

Patches for:
* uwe5622
* rtl8723ds
* rtl8852bs

* update rtl8852bs and rtl8723ds repository commit hashes
2025-10-03 18:36:42 +02:00
tabris
c732b614aa armbian build machinery - allow kernel module compression. 2025-09-28 06:44:45 +02:00
青萝菜 瓜冬卜
7dd37805c8 [bugfix] Update binutils version checks in atf.sh 2025-09-28 06:44:26 +02:00
Igor Pecovnik
68a98a6f7f ORAS tools parameter deprecation: since v1.3 verbosity is by default 2025-09-28 06:43:30 +02:00
Igor
eebef46200 Realtek 8189ES & FS compatibility with Linux 6.17.y
Closing https://github.com/armbian/build/issues/8659
2025-09-28 05:30:08 +02:00
tabris
dd4b5e9a24 armbian build machinery - force all iptables/nftables to be built 2025-09-27 13:23:43 +02:00
diverger
fc3cc6b6e3 fix(build): eliminate the error message when no extension found in a folder in building
In the building when there is not any extensions with given pattern exist, 'enable_extensions_with_hostdeps_builtin_and_user()' will throw errors such as: 'Error 123 occurred in SUBSHELL SUBSHELL at /<some-path>/lib/functions/general/extensions.sh:582'. The changes will eliminate the error message and add prints to show the current searched folder and extensions count found in the folder.

Signed-off-by: diverger <diverger@live.cn>
2025-09-21 19:45:13 +02:00
Igor Pecovnik
859b49c32f Bump mainline edge kernels to rc7 2025-09-21 19:32:20 +02:00
igorpecovnik
d0343953a0 tools: Bump ORAS_VERSION from 1.2.3 to 1.3.0 2025-09-16 07:18:17 +02:00
Jianfeng Liu
abf8763d56 kernel: spilt the build and install into two make steps 2025-09-15 20:29:51 +02:00
Jianfeng Liu
3cf5e09a96 kernel: fix kernel double target 'install' 2025-09-15 20:29:51 +02:00
Viacheslav Bocharov
a7d3bb3577 JetHome: update links and references for JetHome resources 2025-09-11 12:35:39 +03:00
SuperKali
b49192b3a5
rtw88: extend SDIO RF path fix to kernel 6.16 (#8608) 2025-09-11 09:04:05 +02:00
Jianfeng Liu
c51907d0f8 rtl8852bs: update to latest main branch commit 2025-09-11 11:18:54 +08:00
Jianfeng Liu
20cb84200f uboot: set mainline uboot source with mirror 2025-09-11 11:18:13 +08:00
Jianfeng Liu
ed561311a3 kenrel makefile: use Makefile url from ghproxy github repo for mainline kernel if GITHUB_MIRROR is set to ghproxy 2025-09-11 11:17:55 +08:00
Jianfeng Liu
0e9992526b rtl8852bs: enable build for rockchip64 2025-09-08 20:02:28 +02:00
SuperKali
fc9ba3ec3d
fix(rtw88): restrict sdio rf-path detection patch to kernel 6.1 only (#8589)
Limit application of 002-rtw88-sdio-rf-path-detection-fix.patch to kernel version 6.1
2025-09-08 08:40:45 +02:00
SuperKali
343bcc6e24
patch: rtw88: sdio: fix incorrect RF path detection when MAC is powered off (#8587) 2025-09-08 07:33:30 +02:00
tabris
b405bc8415 track input nice value, propagate to docker 2025-09-07 10:01:08 +02:00
tabris
3fc39c409e kernel build machinery - allow BTRFS to be built as module 2025-09-04 02:33:03 +08:00
Rolf Leggewie
aec8988419 lib / partitioning.sh: remove some whitespace at end-of-line 2025-09-04 01:59:32 +08:00
Mecid
02fb49bced Make the Partition Type UUID if-chain more readable 2025-09-04 01:59:32 +08:00
Mecid Urganci
61526350f3 Partitioning UFS: Add rockchip support 2025-09-04 01:59:32 +08:00
retro98boy
2b166f37f3 meson64: bump kernel to 6.16 2025-08-31 12:42:15 +02:00
Mecid Urganci
8f977f5b7c Dependency: e2fsprogs for mkfs.ext4 (in trixie) 2025-08-30 01:05:04 +08:00
Rolf Leggewie
034e1e45cd lib / kernel.sh: drop (by now) unused definition of make_filter 2025-08-27 13:46:16 +08:00
Rolf Leggewie
e624fd805f lib / kernel-make.sh: drop undefined make_filter call. Closes #8529 2025-08-27 13:46:16 +08:00
The-going
5fd4306699 main-config: Add gitverse repo for kernel source 2025-08-26 04:56:04 +08:00
The-going
f57e935603 MAINLINE_GOOGLE_MIRROR: fix to https://kernel.googlesource.com/*/linux-stable.git 2025-08-26 04:56:04 +08:00
EvilOlaf
33d4b2c13b add recursion when umounting /sys 2025-08-16 17:44:15 +02:00
igorpecovnik
e6448a22e3 tools: Bump SHELLCHECK_VERSION from 0.10.0 to 0.11.0 2025-08-16 21:15:44 +08:00
igorpecovnik
a1c49e4e5f tools: Bump SHELLCHECK_VERSION from 0.10.0 to 0.11.0 2025-08-16 21:15:24 +08:00
Rolf Leggewie
eda88e848b lib / prepare-host: debian-archive-keyring is not a host-dependency for RISCv64
This was introduced in 2a8cb5793f as a relaxation to the previous
state when RISCv64 was not yet officially supported by Debian and
lived in Debian Ports.
2025-08-13 18:39:59 +08:00
amazingfate
94a72b9993 linux-image: provide wireguard-modules 2025-08-11 17:37:52 +08:00
Igor Pecovnik
750d4eda7d Xradio: adjust to support kernel compilation for 6.16+ 2025-08-07 19:40:40 +02:00
Jianfeng Liu
ca5e61f777 fix build dep gcc-loongarch64-linux-gnu introduced by new arch loong64 2025-08-05 11:33:56 +08:00
Jianfeng Liu
124da14067 kenrel-debs: use dynamic kernel image name installed by installkernel 2025-08-04 17:34:54 +08:00
Jianfeng Liu
0439d3ed70 install pahole before linux-headers for better dkms 2025-08-04 17:34:24 +08:00
Jianfeng Liu
fb363e8829 add initial loong64 support 2025-08-04 17:34:24 +08:00
Jianfeng Liu
b3912bb03a uefi-arm64: bump to 6.16 2025-08-03 09:37:30 +08:00
Rolf Leggewie
bda921595b minor spelling mistakes 2025-08-02 19:23:38 +08:00
Igor Pecovnik
4ae394cc4d Debian oldstable: drop security and backport repository from packages lists
It does not exists for Bullseye nor Buster, which are both anyway deprecated, but we have a user reqests.
2025-07-30 15:49:42 +02:00
Igor Pecovnik
cbeb0992b4 Bullseye: drop backport repository as it doesn't exists anymore 2025-07-28 17:17:58 +02:00
Rolf Leggewie
c2a9fff520 lib / prepare-host: fix quoting inconsistency 2025-07-23 10:53:09 +02:00
Rolf Leggewie
f72bd55b12 lib / prepare-host: make installation of gcc-arm-linux-gnueabi conditional
* do not install gcc-arm-linux-gnueabi unless targetting arm64 arch
  suggested by coderabbitAI (https://github.com/armbian/build/pull/8260#discussion_r2118608963)
  reviewed and implemented by leggewie
2025-07-23 10:53:09 +02:00
Igor Pecovnik
67aa2d55e4 Wireless drivers: bump commit hash, add information about deprecations 2025-07-23 10:52:37 +02:00
Jianfeng Liu
c093f2e581 fix bluetooth hci_dev quirks API change since v6.16-rc7 2025-07-23 16:32:36 +08:00
Igor Pecovnik
fecc8ae217 Plymouth: add most recent Armbian logo 2025-07-18 17:44:07 +02:00
igorpecovnik
5efa4a16df tools: Bump SHELLFMT_VERSION from 3.11.0 to 3.12.0 2025-07-18 17:43:52 +02:00
Andrei Aldea
370bedb42d
Add option for number of threads used by build system (#8346)
* Add option for number of threads used by build system

Attempt to fix https://github.com/armbian/build/issues/6907

* Add CPUTHREADS to replace USEALLTHREADS

Defaults to 150% as was always the case, otherwise allow user to override number of threads.
2025-07-13 09:33:48 +02:00
Jianfeng Liu
3a9babee14 deploy missing qemu binary when adding repo key 2025-07-11 16:59:45 +02:00
Rolf Leggewie
9144aaf91b lib / distro-specific.sh: add --batch and --yes switches to gpg call
suggestion from coderabbit and indeed it sounds like a good, robust idea
2025-07-10 20:40:37 +08:00
Rolf Leggewie
9fe445b44d Revert "rootfs: allow APA to handle GPG keys when it is active during the build"
This reverts commit 034e9253cd.
2025-07-10 20:40:37 +08:00
Rolf Leggewie
e7b21f6d97 lib / main-config.sh: enable APA extension for sid Release builds 2025-07-08 01:42:38 +08:00
amazingfate
ff941a6e2d remove wifi patches for kernel v6.16 merged upstream 2025-06-28 15:20:16 +02:00
Werner
fa9302f162
rockchip64: bump edge to 6.16-rc3 (#8328)
* Fix wifi drivers on kernel v6.16

These patches can get deleted after merged upstream.

* initial commit

* fix header

* remove ssv6051 driver

---------

Co-authored-by: amazingfate <liujianfeng1994@gmail.com>
2025-06-24 15:25:34 +00:00
Rolf Leggewie
034e9253cd rootfs: allow APA to handle GPG keys when it is active during the build
this is a small first step to mainlining APA into core and let it handle
some packaging and distribution logic
2025-06-23 20:36:23 +02: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
557457e4cc Revert Changes to library-functions
Was auto-regenerated
2025-05-29 19:30:15 +02: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