Commit Graph

2617 Commits

Author SHA1 Message Date
Rolf Leggewie
9f08183a9f lib / rootfs-create: make rm command more robust
this fixes the issue raised in armbian/apa#32
2025-12-13 11:57:01 +08:00
SuperKali
9e1d62fbec
rtw88: Add kernel 6.18 support and clean up patch logic (#9041)
- Created patch/misc/rtw88/6.18/ directory with upstream driver patches
- Removed obsolete kernel 6.16 reference from patch conditions
- Updated comment to clarify that RF path detection fix is only needed
  for kernel 6.1.x (upstreamed in 6.18+)

This fixes RTL8822CS WiFi initialization failures on kernel 6.18 where
the driver was not being properly patched due to missing version directory.

Fixes SDIO timeout errors during chip initialization.
2025-12-08 23:58:15 +01:00
Rolf Leggewie
f9cf9ae2ca lib / distro-agnostic.sh: drop chmod on /bin/ping
we are way past buster now (if ever this was needed to begin with)
2025-12-07 08:53:57 +01:00
Jesse R Codling
d1fc474d50 Typo fix from @tabrisnet
Co-authored-by: tabrisnet <96966042+tabrisnet@users.noreply.github.com>
2025-12-07 08:49:22 +01:00
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