Commit Graph

1152 Commits

Author SHA1 Message Date
Igor 4e33412ec2
Refactor armbian-config into install as external package (#7716)
* Refactor armbian-config into install as external package

- https://github.armbian.com/configng repository is always present
- package can still be removed from the install list

Since this tool will have deeper integration with Armbian, we should probably drop possibility to remove the tool from the list.

* Enable armbian-config as extension
2025-01-20 14:23:28 +01:00
Igor Pecovnik f8e1b443f1 3rd party wifi: partially revert rtl8811cu driver as it breaks on K6.6 2025-01-19 21:49:41 +01:00
Igor Pecovnik dc558d7c01 UEFI kernels, legacy = 6.6, current & edge 6.13 2025-01-19 20:21:52 +01:00
Ricardo Pardini c469eeba7a hooks: introduce `post_armbian_repo_customize_image` and `post_repo_customize_image`
- `post_repo_customize_image`: runs after repos have been enabled
- `post_armbian_repo_customize_image`: same, but only if Armbian repo is enabled
- both run after apt update, so packages can be directly installed from repos
2025-01-19 20:21:11 +01:00
amazingfate 09dc5b0d9d dockerproxy: update GHCR_MIRROR_ADDRESS 2025-01-17 16:35:28 +03:00
amazingfate f4457a3df5 ghproxy: update GHPROXY_ADDRESS to ghfast.top 2025-01-15 11:36:45 +08:00
amazingfate b17e9e5db1 armbian-kernel: skip enabling BTF for rk35xx vendor kernel
fix minor typo by @EvilOlaf
2025-01-14 19:43:44 +08:00
Viacheslav Bocharov 245c74acbb update rtl8822cs driver link to latest commit (update for kernel 6.13+)
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2025-01-14 12:10:07 +03:00
Igor Pecovnik 5cc3e2e872 Fix handling loop devices 2025-01-08 13:17:47 +01:00
Ricardo Pardini fdde912ebf uboot: debug u-boot directory contents before/after patching
- with DEBUG=yes, allows us to see what is leftover in directory during builds
- with new cleaning in separate commit, there shouldn't be any leftovers _at all_
2025-01-05 16:38:43 +01:00
Ricardo Pardini 79db9984f1 uboot: completely clean before building each target; slower but correct
- with this, every u-boot build will be a full rebuild.
  - still, building u-boot is pretty fast
  - and it is better to be a bit slower and actually produce correct results
2025-01-05 16:38:43 +01:00
Ricardo Pardini 7aeb48f172 u-boot: add per-target and general metadata files to u-boot package
- incl some indicative fdt/extlinux/gpt info
- include full config and defconfig for each target
- mark the old .config file as legacy (it was always the last-target's config)
- fix: savedefconfig after build, not before (as target_map might change it)
- fix: some very old u-boots (2011, odroidc1) do not have `savedefconfig` at all, so make it optional
- fix: same for `.config` -- very old u-boots worked different (`boards.cfg`?)
2025-01-05 16:38:43 +01:00
Tim Surber 7c5f95ef8c bump arm trusted firmware to 2.12 for rockchip64 2025-01-05 10:29:54 +01:00
Ricardo Pardini 87ceaaf635 kernel-debs: headers: postinst: switch from `oldconfig` to `olddefconfig` for less messy output; better logging 2025-01-05 10:24:30 +01:00
marcone 5ccc94dd56 fix typo 2025-01-04 15:36:06 +01:00
Ricardo Pardini 43ee737f30 runners: fix `if_error_find_files_sdcard` if looking for full paths (shows DKMS log correctly)
- this should make `dmks`'s `make.log` properly show up in error logs now
2025-01-04 15:35:29 +01:00
Ricardo Pardini a408e0cbdf cli-docker: avoid `argument list too long` errors when too many git changes present; fixes #6993 2025-01-03 17:18:10 +01:00
Ricardo Pardini b0303e5edc rootfs: fix: don't try to use chroot binaries after qemu was undeployed
- `"${cache_fname}.list"` and `"${cache_fname}.hash_text"` were very old and unused anyway
2025-01-02 13:46:03 +01:00
Paolo Sabatino 54628d7d3e rockchip: bump edge kernel to 6.13-rc5 2025-01-01 19:38:55 +01:00
Patrick Yavitz 8e621baeb9 RTW88: `Add RTL88XXAU support to 6.12.y`
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-01-01 13:31:22 -05:00
igorpecovnik b1232edaa2 tools: Bump `ORAS_VERSION` from 1.2.0 to 1.2.1 2024-12-31 11:52:48 +01:00
Ricardo Pardini de6b967e47 cli: kernel-dtb: don't output preprocessed dts unless BOOT_FDT_FILE is in `<vendor>/<board>.dtb` format
- so the .deb can be produced sans-errors for some armhf boards
- some better logging, curb the warnings a bit
2024-12-31 11:52:30 +01:00
Ricardo Pardini 6755e9190a don't ship qemu binary in rootfs cache + armhf image/rootfs building on non-armhf-capable-arm64 hosts (Apple M1+)
- refactor `prepare_host_binfmt_qemu()` out of `prepare_host_noninteractive()` and into `rootfs/qemu-static.sh`
  - further split into more functions and return early to avoid deep nesting
  - implement force import and load of qemu-arm for non-armhf capable arm64 hosts (incl magic numbers)
- enhance `deploy_qemu_binary_to_chroot()` & `undeploy_qemu_binary_from_chroot()`;
  - add 2nd param "caller" for better logging/tracking
  - does sanity-check and preserve existing binary if it exists
- explicitly deploy/undeploy for the 3 cases:
  - image: moved undeploy from `post_debootstrap_tweaks()` into image build proper for consistency
  - rootfs: was leaving trash behind (since post_debootstrap_tweaks never ran for rootfs), now properly undeploys
  - initrd: was already fine, just added caller info
- added `arch-test` host dependency
  - ensure `arch-test ${ARCH}` works during prepare-host
- > tl,dr: "can build 32-bit armv7 armhf using Apple silicon; can use rootfs cache cross-arch reliably"
2024-12-31 11:52:12 +01:00
Ricardo Pardini 6f0afc150c kernel-config: switch to exporting defconfig's for all .config files
- this affects `rewrite-kernel-config` and `kernel-config` CLIs
- this does not actually change the .config's we have, that will happen later / gradually as configs are rewritten
- no more `.defconfig` files are produced (they were in gitignore)
2024-12-31 11:50:59 +01:00
Ricardo Pardini 12f9318373 armbian-kernel: enforce arm64 kernels use 48-bit PA/VA 2024-12-31 11:50:48 +01:00
Ricardo Pardini cafdca0cc4 armbian-kernel: enable BTF (and CO-RE) for all kernels 2024-12-31 11:50:48 +01:00
Ricardo Pardini bcc13132ad armbian-kernel: disable module signatures, harder 2024-12-31 11:50:48 +01:00
The-going d0ec958162 kernel_package_callback_linux_headers: Fix the cleaning process for tools.
In order for the cleanup to be correct for tools, we need to pass
the VMLINUX_BTF variable, which contains the real path to the vmlinux
file we just compiled.

The vmlinux file itself is not involved in cleaning,
but the Makefile checks for its presence and cleaning
is aborted if it is not found.
2024-12-30 20:33:45 +01:00
amazingfate 26c15ce439 wireless patches: fix build for kernel 6.13 2024-12-30 08:24:45 +08:00
Paolo Sabatino 06c37e510d Fix uwe5622 "spanning-writes" warning messages in dmesg 2024-12-26 20:30:54 +01:00
Alex Shumsky 4fd0e0c29d rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync 2024-12-24 22:33:51 +01:00
Arend-Jan van Hilten 1ab73573f4
Fix orangepizero wifi and usb otg (#7614) 2024-12-24 22:23:44 +01:00
amazingfate fcbad0b426 ghproxy: update GHPROXY_ADDRESS to ghgo.xyz 2024-12-22 00:03:46 +08:00
amazingfate b11a6fd872 apt-utils: fix hard-coded GHPROXY_ADDRESS 2024-12-18 21:03:51 +01:00
M.Schmidt 6607728e24 improve(lvm,cryptroot): export private key with a structurally equal naming scheme; cleanup 2024-12-13 10:01:19 +01:00
M.Schmidt 590b75fd6f improve(lvm+cryptroot extensions): enable possibility for LVM on LUKS 2024-12-13 10:01:19 +01:00
M.Schmidt 3ec24d40e8 fix(lvm,cryptroot extensions): introduce another variable to keep track of the physical partition/uuid and rootdevice/uuid seperately 2024-12-13 10:01:19 +01:00
Igor Pecovnik 4187ab3c51 Adjust deprecated key management support
Workaround for older builds were tied to version of apt, but this doesn't work anymore.
2024-12-13 09:40:56 +01:00
Dimitry Ishenko 6d63fbd928 armbian-config-deb: add missing deps
armbian-config uses debconf-apt-progress which is part of debconf.

libtext-iconv-perl is needed to prevent the following error, when
uninstalling a package through debconf-apt-progress:

Can't locate object method "new" via package "Text::Iconv" (perhaps you forgot to load "Text::Iconv"?) at /usr/share/perl5/Debconf/Encoding.pm line 65, <GEN2> line 2.
dpkg: error processing package nfs-common (--configure):
2024-12-11 11:26:52 +01:00
Dimitry Ishenko 40f8fa104b armbian-config-deb: sort deps 2024-12-11 11:26:52 +01:00
Ricardo Pardini a55c8bfcb2 u-boot: check the produced `platform_install.sh` (created from functions like write_uboot_platform) for shellcheck errors
- we've some smelly stuff in write_uboot_platform for some families that we'd rather catch early
- implement small syntax fixes in setup_write_uboot_platform
2024-12-09 14:12:44 +01:00
Ricardo Pardini 6d9a06bf72 shellfmt: lib/functions; no changes 2024-11-25 11:32:28 +01:00
Igor Pecovnik 0b656192a9 Switch to action artifacts that was moved to .org 2024-11-20 15:22:21 +08:00
amazingfate e1815dfeb7 apt-utils.sh: get base-files package version from GHA 2024-11-20 15:22:21 +08:00
Igor 6148907595
Improvements and bug fixes to Armbian user-space services (#6840)
* Add a list of BASH shell aliases and merge them with ohmyZSH aliases
* Add command armbian-upgrade to the BSP which executes update + upgrade
* Display armbian-upgrade only if there are upgrades
* Generate empty folder where will store data. This doesn't exists at early start
* Move armbian-install to /usr/bin and autoexecute sudo
2024-11-18 19:12:52 +01:00
Igor Pecovnik 01d7f7db0d Change development repository domain name to github.armbian.com 2024-11-14 21:38:43 +01:00
Ricardo Pardini 37d9200e6a hack: trixie has lost its software-properties-common package so get rid of it for all Debian releases
- https://tracker.debian.org/news/1579223/software-properties-removed-from-testing/
- that provides add-apt-repository, but we don't use that on Debian, hopefully
- move also cpufrequtils hack (which requires release) to specific function after userspace checks and when DISTRIBUTION is set
- `software-properties-gtk` if of course also gone, so remove that for desktop's sake
2024-11-12 11:42:13 +01:00
Werner 0afd94a84b
Deprecated `WIREGUARD` once and for all (#7452)
* remove wireguard

* remove wireguard

* remove wireguard

* Update armsom-sige1.csc

* Update hinlink-hnas.csc

* Update hinlink-h28k.csc

* Update hinlink-h66k.csc

* Update mangopi-m28k.csc

* Update hinlink-h68k.csc
2024-11-09 21:02:50 +01:00
Igor Pecovnik 48228f1e49 `Userspace`: Switch armbian-config to new generation. It has very small footprint, thus it will be installed by default 2024-11-05 16:35:36 +01:00
user 502e139598 New option: CRYPTROOT_MAPPER. Make ROOT_MAPPER name for CRYPTROOT changable. 2024-11-05 16:35:02 +01:00