Jesse R Codling
9f164a21ce
Use docker --version for podman detection
2025-12-07 08:49:22 +01:00
Jesse R Codling
3fb2606d00
Conditionally add volume flags for building with Podman
...
Use $DOCKER_INFO to check for podman vs dockerd, and conditionally
`exec` and `dev` volume options, which are needed on podman but not
allowed on dockerd.
2025-12-07 08:49:22 +01:00
Jesse R Codling
3aea2de999
Add needed volume mount opts for Docker/Podman
...
It hasn't been an issue for Docker because their defaults didn't
conflict, but Podman mounts volumes with nodev (and formerly noexec) by
default, which would break the build. Adding `dev` and `exec` to the
volume mount options ensures the needed setting whatever the defaults.
2025-12-07 08:49:22 +01:00
tabris
f53eac4253
framework - enable NTSYNC as a module on most kernels
2025-12-05 19:38:00 +01:00
Igor Pecovnik
43addca1d4
Add compilation of resolve_btfids to the kernel headers postinst script
2025-12-05 19:36:05 +01:00
Igor Pecovnik
43e89b4313
Make pahole as hard dependency on kernel headers
2025-12-05 19:36:05 +01:00
Rolf Leggewie
ca73176bd9
lib / main-config.sh: enable APA extension for questing and resolute builds. Closes : #8966
2025-11-20 19:38:24 +01:00
Igor Pecovnik
b1ee4a5252
Fixing updating submodule
2025-11-18 13:08:18 +01:00
Igor Pecovnik
39d6bc8148
Powere management - make it conditional, enable on UEFI targets, else disabled
2025-11-18 12:01:25 +01:00
Ricardo Pardini
d66aaf8449
jsoninfo: introduce inventory-artifacts cli
...
- stops after artifacts-reduced and adds kernels.ndjson and uboots.njdson via jq
- if one runs `./compile.sh inventory-artifacts` we shall get:
- `output/info/kernels.ndjson`: one line for each kernel build
- `output/info/uboots.ndjson`: one line for each u-boot build
- this is meant as base for other tooling that acts "for each kernel" or "for each u-boot" such as patch/config rewrites, etc
- cli-jsoninfo: better kernels.ndjson; new kernels-duplicate-config.json
- so we can detect mistakes ref LINUXCONFIG
- maybe one day the "Rewrite Kernel Config" GHA can re-use kernels.ndjson
- previous commit introduced targets-all-kernels.yaml, so one can run
- `./compile.sh inventory-artifacts TARGETS_TEMPLATE=targets-all-kernels.yaml`
2025-11-17 12:21:10 +01:00
Ricardo Pardini
f236d317a3
artifact-kernel: include LINUXCONFIG and ARMBIAN_KERNEL_DEB_NAME in artifact_input_variables
2025-11-17 12:21:10 +01:00
Tom Urlings
abcb6c947b
Enable bootscript templating
...
- Enable bootscript templating using `envsubst`.
- Add generic bootscript.
- Fix: `test` does not support `==`, but deceptively returns `true` in case you use it.
- De-duplicate kernel commandline console options.
2025-11-17 10:15:23 +01:00
igorpecovnik
d30f8d02ce
tools: Bump BATCAT_VERSION from 0.25.0 to 0.26.0
2025-11-16 10:04:35 +01:00
Igor Pecovnik
06dbd0074c
Add Ubuntu 25.10 / 26.04 questing and resolute as csc build target, demote Bookworm to csc
2025-11-15 23:09:24 +01:00
Igor Pecovnik
758c57bafe
Framework: copy user provided first boot config at build time
2025-11-12 17:38:51 +01:00
Igor Pecovnik
8b8b0263b2
Disable sleep functionality on systemd level
...
This should prevent boards going to sleep as resume mainly don't work
2025-11-10 11:47:00 +01:00
Ricardo Pardini
efdfb11328
kernel-config: don't leak grep stuff to stdout; mention Armbian and defconfig in rewritten .config comment
2025-11-08 13:13:38 +01:00
tabris
bb783640f4
framework kernel machinery - always save KERNEL_MAJOR_MINOR into generated config/kernel/foo.config
2025-11-08 11:35:37 +01:00
tabris
1f315c7819
Framework - armbian-kernel.sh - followup to #8820
...
Don't override CONFIG_FOO=y with CONFIG_FOO=m when opts_m contains
CONFIG_FOO
2025-11-06 15:48:07 -05:00
tabrisnet
e4c5ae4f1a
framework mmdebstrap, fetch_distro_keyring - use cached keyring pkgs from armbian.github.io ( #8881 )
...
followup to #8785 , armbian/armbian.github.io#82 & armbian/armbian.github.io#85
Pull the latest keyring pkgs from armbian's github mirror
2025-11-06 12:18:10 -05:00
Igor
81ad50f257
Revitalize Espressobin - fix atf compilation bug, bump kernels ( #8873 )
...
* Revitalize Espressobin - fix atf compilation bug, bump kernels
* Drop forced systemd networking as this is now anyway in minimal by default
2025-11-06 00:19:49 +01:00
Ricardo Pardini
fab1be2e8b
armbian-kernel: remove forced EXT4/BTRFS as builtins (let each kernel .config decide)
...
- some families want builtin, some want modules, let each decide
2025-11-06 00:15:46 +01:00
Ricardo Pardini
db5534ed5c
armbian-kernel: drop CONFIG_ prefix, fix comments
...
- also fix for opt_m logging mismatch caught by the AI
2025-11-06 00:15:46 +01:00
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
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