Commit Graph

2640 Commits

Author SHA1 Message Date
Ricardo Pardini
5eeb998509 armbian-kernel: standardize on opts_y/opts_n/opts_m + opts_val arrays
- call_extensions_kernel_config() now declares the vars and calls
  armbian_kernel_config_apply_opts_from_arrays() at the end
- so each individual hook doesn't need to
- adapt family code using the old way too
2025-11-06 00:15:46 +01:00
Ricardo Pardini
e0adc40a75 armbian-kernel: rework everything into arrays + armbian_kernel_config_apply_opts_from_arrays
- so hashes and changes are consistent
2025-11-06 00:15:46 +01:00
Ricardo Pardini
03b7b2645d armbian-kernel: remove inconsistent conditionals
- one shall NOT use the contents of .config to determine what's in the .config
- also: introduce `opts_m` for armbian_kernel_config_apply_opts_from_arrays()
2025-11-06 00:15:46 +01:00
Ricardo Pardini
6a2b2d6760 armbian-kernel: BTRFS_FS & EXT4_FS as built-in, not modules 2025-11-06 00:15:46 +01:00
Ricardo Pardini
7c80838190 armbian-kernel: shfmt + trim whitespace; no changes 2025-11-06 00:15:46 +01:00
Ricardo Pardini
5e45b9c0f1 armbian-kernel: fix inconsistency in the ZRAM_BACKEND stuff; add a rant 2025-11-06 00:15:46 +01:00
tabris
cfed1b4357 framework mmdebstrap fetch_distro_keyring - ignore dpkg-deb/tar non-essential errors 2025-11-05 21:57:19 +01:00
tabris
69caf3ba22 build framework mmdebstrap - use MANAGE_ACNG for downloading the keyring pkgs 2025-11-03 18:12:03 +01:00
tabris
373ec28e79 build framework mmdebstrap - fetch the newest keyring pkgs 2025-11-03 18:12:03 +01:00
tabris
77ee624aad build framework mmdebstrap - fix hashing of LEGACY_DEBOOTSTRAP 2025-11-03 18:12:03 +01:00
tabris
fef862f774 build framework mmdebstrap - LEGACY_DEBOOTSTRAP
allow old debootstrap to be used instead.
2025-11-03 18:12:03 +01:00
tabris
94866e81a3 build framework - mmdebstrap minimal conversion 2025-11-03 18:12:03 +01:00
Alex Simkin
b47445c990 add CRYPTROOT_AUTOUNLOCK option and fix CRYPTROOT for uefi builds
fixes #6280
2025-11-02 20:15:19 +01:00
Ricardo Pardini
f38ad454af uboot: set CONFIG_LOCALVERSION more reliably on script/config-enabled uboot sources
- keep old sed for old u-boots only
- don't start it with a dash, as that gets confused with cmdline arg eventually
  - instead use an underscore
2025-11-02 18:10:12 +01:00
Ricardo Pardini
3dfcbf4348 uboot: uboot-config now prints diff with pre-menuconfig defconfig 2025-11-02 18:10:01 +01:00
Your Name
71bc75503f add description for .conf 2025-11-01 08:33:04 +01:00
Tim Surber
bf79329821 add Debian Forky as target 2025-10-27 11:33:08 +01:00
tabris
42c52e34f4 build framework - MANAGE_ACNG - allow switch to be empty 2025-10-24 07:55:58 +02:00
Igor
8b0f9ad1ef
Wireless driver patching: fix inconsistency in matching (#8789)
* Wireless driver patching: fix inconsistency in matching

Mathing Allwinner family via LINUXFAMILY is giving different results. sunxi doesn't cover sun5* ...

* Re-adding wireless drivers that fall out of this bug + few additional
2025-10-23 22:30:12 +02:00
tabris
9d57032b89 build framework - MANAGE_ACNG, allow to specify your own mirror/URL 2025-10-23 22:07:04 +02:00
Ricardo Pardini
19ab210ceb drivers_network: update rtl8723DS with amazingfate's fix for 6.18
- see https://github.com/armbian/rtl8723ds/pull/4
2025-10-19 01:43:30 +02:00
Ricardo Pardini
842e6b66f9 drivers_network: update rtl8852bs with amazingfate's fix for 6.18
- see 72c75150d7
2025-10-19 01:43:30 +02:00
Mecid
9a8ecb8e6e
Add wget to prepare-host.sh (#8779)
Needed for debootstrap with trixie host
2025-10-18 18:52:07 +02:00
Jianfeng Liu
d890a4b3f3 partitioning: allow single root partition for all filesystem type 2025-10-17 19:33:52 +02:00
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