Commit Graph

2607 Commits

Author SHA1 Message Date
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