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
user
817519210b
Fix partitioning root UUID bug in /etc/crypttab.
2024-11-05 16:35:02 +01:00
igorpecovnik
68c758f4a1
tools: Bump `SHELLFMT_VERSION` from 3.9.0 to 3.10.0
2024-11-03 22:24:23 +01:00
aiamadeus
ef193e5a03
main-config: add China mirror for ghcr.io
2024-11-01 08:29:36 +01:00
aiamadeus
76b36c4da5
main-config: update ghproxy mirror address
...
The ghproxy mirror is more reliable than gitclone, so set it to default.
2024-11-01 08:29:36 +01:00
ColorfulRhino
82aa7b3963
compilation: armbian-kernel: Change forced uncompressed modules option for kernels >=v6.12
...
The kernel option `CONFIG_MODULE_COMPRESS_NONE` was superseded by `CONFIG_MODULE_COMPRESS` in 6.12.
Adapt the kernel compilation script accordingly to force the correct kernel option.
Source: c7ff693fa2
2024-10-20 18:21:58 +02:00
Igor Pecovnik
7850d7750a
Wireless drivers: remove driver for 8822BS applicable for old kernels < 5.16
...
Git was removed and there is not need to restore it.
2024-10-18 23:03:48 +02:00
Igor Pecovnik
9697c17fbd
Overlay management: somewhere we had OVERLAY_DIR and somewhere OVERLAYDIR
2024-10-08 12:37:49 +02:00
Ricardo Pardini
fd692cd6b5
armbian-bsp-cli-deb: fix shellcheck breakage; fixes #7303
...
- also, shellfmt
Fixes: db2b432d18
2024-10-02 12:06:31 +02:00
The-going
028952fe1e
sunxi-6.11: xradio: exclude driver if kernel version >= 6.11
2024-09-30 18:38:35 +02:00
Ricardo Pardini
55b87180b5
rootfs: don't use the Armbian repo when building rootfs from both GHA pipelines and CLI; fixes #7123
...
- Fixes: 71296430fa -- which only set `SKIP_ARMBIAN_REPO=yes` when `rootfs` cli shortcut used
- GHA artifact pipelines are generic across all artifacts, and don't use the cli shortcuts
- instead, they use the `artifact` shortcut, with the `WHAT=rootfs` parameter
- so in GHA pipelines `SKIP_ARMBIAN_REPO=yes` was not taking effect
- rootfs artifact itself now enforces `SKIP_ARMBIAN_REPO` to be `yes` and makes it readonly
- also add `SKIP_ARMBIAN_REPO` to the general change-tracking for more clarity about configs and hooks etc
- add change tracking calls before/after generic artifact config adapter for even more clarity
2024-09-30 16:15:36 +02:00
Igor Pecovnik
89476e86f3
BSP: store kernel and kernel test target definition to /etc/armbian-release to be used in armbian-config
...
Kernel switching will be allowed only between kernels defined here.
2024-09-29 19:29:35 +02:00
Igor Pecovnik
6a03d070d7
MD5 sum: changing default checking as it will fail on base-files
...
Base files are changed during the process.
FORCE_CHECK_MD5_PACKAGES=yes turns checking back on.
2024-09-29 09:55:15 +02:00
Igor Pecovnik
aaf53327a7
Add property order which we use to sort releases historically
2024-09-27 15:08:54 +02:00
Igor Pecovnik
db2b432d18
BSP: Expand distribution status with possible upgrade information
2024-09-27 15:08:54 +02:00
Paolo Sabatino
1c79daddc0
bump rockchip64 edge kernel to v6.11
2024-09-21 14:18:19 +02:00
Ricardo Pardini
5396ffb602
patching: emit warnings when files in `dt` folder overwrite pre-existing files (DTs that landed upstream)
...
- it's more and more common that the (bare) DT files in our `dt` folders have landed upstream
- this adds warnings and marks the patching table red when some bare-dt file overwrites what's already in git
- without this it's very easy to forget them there during bumps
2024-09-18 16:31:34 +02:00
igorpecovnik
46dd7d2760
tools: Bump `SHELLFMT_VERSION` from 3.8.0 to 3.9.0
2024-09-16 13:17:49 +02:00
Igor Pecovnik
0d8ed3fbd1
Adding OVERLAYDIR variable to hash calculating mechanisms
...
This will force rebuild package in case this variable gets changed
2024-09-16 13:15:18 +02:00
Igor Pecovnik
4a1e10219c
armbian-config: store overlay folder definition to /etc/armbian-release
...
This way we don't need to calculate yet again
2024-09-15 11:42:41 +02:00
David Andreoletti
f145fc2af2
armbian-firstrun: Optionally skip OpenSSH host key regeneration
2024-09-15 11:42:29 +02:00
rafael
dcff6cf71d
fixes #7210 for extensions that modify rootdevice
2024-09-14 21:44:52 +02:00
Ricardo Pardini
7745d2ece6
kernel-debs: show 3 levels of dirs in tree output for kernel-dtb, so overlays are shown
2024-09-14 21:41:24 +02:00
IsMrX
dfe8fc39e8
Enable oras pull to use system proxy
2024-09-13 22:02:17 +02:00
amazingfate
b156e14b9a
uwe5622: fix for rk35xx vendor kernel
2024-09-13 09:36:42 +08:00
Igor Pecovnik
8050897d07
rootfs cache: after updating github cli key, we need to rebuild rootfs cache
2024-09-12 07:33:07 +02:00
Ricardo Pardini
a1b1d61834
distro-specific: systemd-resolved: don't impose 1.0.0.1 DNS server on users
...
- See https://github.com/armbian/build/pull/6756/files#r1731373505
Fixes: b6f018a2b1
2024-09-10 21:59:14 +02:00
amazingfate
24be131989
dt_makefile_patcher: fix dtbs with dot in filename
2024-09-10 10:48:53 +08:00
Igor Pecovnik
56f5d6692c
Revert setting default hostname to Armbian
2024-09-08 17:43:14 +02:00
Igor Pecovnik
59979a4573
Set default hostname to Armbian
2024-09-08 17:43:14 +02:00
Igor Pecovnik
7aa89f350f
Store VENDORPRETTYNAME to the image instead to the BSP. This is image property.
2024-09-08 16:22:02 +02:00
Igor Pecovnik
05ae71d8f2
Store EXTENSION list to the image instead to the BSP
2024-09-08 16:22:02 +02:00
Igor Pecovnik
8ee40367d4
Revert "Store list of preinstalled extensions EXTENSIONS and add VENDORPRETTYNAME to image fingerprint"
...
This reverts commit 9af94d5977 .
2024-09-08 16:22:02 +02:00
Ricardo Pardini
ea028fbcba
prepare-host: trixie and sid don't carry python3-distutils anymore
2024-09-03 22:04:33 +02:00
Ricardo Pardini
b834256138
kernel-dtb: copy also the dtb binary for the board to output
2024-09-03 22:04:20 +02:00
Igor Pecovnik
9af94d5977
Store list of preinstalled extensions EXTENSIONS and add VENDORPRETTYNAME to image fingerprint
2024-09-03 22:03:04 +02:00
Igor Pecovnik
edbf678780
Improved freezing mechanism with README
2024-08-26 17:51:06 +02:00
Igor Pecovnik
ec76e1282e
More elegant solution to prevent kernel upgrades per certain board
2024-08-24 17:15:24 +02:00
Igor Pecovnik
a26eb472f0
Framework: bump tmpfs size as we are going over
...
Suppress this warning: "Rootfs post-tweaks size is larger than estimated tmpfs size"
2024-08-23 11:43:03 +02:00
Igor Pecovnik
71f5662dac
Force rootfs cache rebuild - once again.
2024-08-23 06:59:40 +02:00
Igor Pecovnik
c0c7431af4
Enable allow-downgrades to base-files install to allow building images with older version than current
...
Framework stores our base-files in rootfs cache with version that comes from trunk and when we make stable images for current or previous release, build fails with error E: Packages were downgraded and -y was used without --allow-downgrades.
2024-08-23 06:59:40 +02:00
Igor Pecovnik
8648d1f39b
Expand functions install_deb_chroot and install_artifact_deb_chroot with accepting additional custom parameter
...
This adds support to pass additonal parameters to package installer.
2024-08-23 06:59:40 +02:00
Igor Pecovnik
71296430fa
Framework: disable armbian repository while generating rootfs cache
2024-08-22 16:53:29 +02:00
JohnTheCoolingFan
bed3f85213
Run docker via run_host_command_logged
2024-08-18 10:40:32 +02:00
JohnTheCoolingFan
1045fda3d4
Check for loop devices and a temp container run
2024-08-18 10:40:32 +02:00
JohnTheCoolingFan
69f408236e
Revert "Add MKNOD capability to docker container ( #6927 )"
...
This reverts commit 8162899d3d .
The capability has nothing top do with the actual issue.
2024-08-18 10:40:32 +02:00
Igor Pecovnik
54c79a2008
rootfs: add comment to force rootfs rebuild
2024-08-17 15:51:43 +02:00
ColorfulRhino
6e6fbac503
cli: kernel-make: Use `build@armbian` instead of `armbian@next` for KBUILD
2024-08-15 20:35:26 +00:00
ColorfulRhino
e8c4bde80f
cli: kernel-make: Add note for parallel compression for `xz`
...
Source: https://lore.kernel.org/lkml/20200901151002.988547791@linuxfoundation.org/
2024-08-15 20:35:26 +00:00
Evgenii Zheltonozhskii
0aa2371db5
Support kernel compilation with Clang/LLVM
2024-08-15 13:20:01 +02:00
Kevin Schmidt
08ef1a960f
Fix armbian-firmware-full package build.
...
Include symlinks from linux-firmware.
2024-08-12 10:45:27 +02:00
ColorfulRhino
b8dbe607e5
partitioning: Declare `rootpart` as local variable
...
The others like `uefipart` and `bootpart` are also defined as local var. Establish consistency.
2024-08-05 20:39:57 +02:00
ColorfulRhino
1092d60d3e
partitioning: Set correct partition type UUID for root filesystem
...
Previously, only the type "Generic Linux filesystem" was used.
Use the correct type "Linux root ($ARCHITECTURE)" for the root filesystem.
2024-08-05 20:39:57 +02:00
ColorfulRhino
a027c4be37
partitioning: Add check to use legacy BIOS boot partition with GPT only, not MBR
...
Exit with an error message if trying to add this partition to an MBR disk.
2024-08-05 20:39:57 +02:00
ColorfulRhino
01d8716bf9
partitioning: Output the partitioning options to the debug log
2024-08-05 20:39:57 +02:00
ColorfulRhino
0b6d61f4c4
partitioning: Add some comments to improve readbility
2024-08-05 20:39:57 +02:00
schwar3kat
58b0a55351
Add Linux Mint Virginia and Wilma to supported hosts
...
Add virginia and wilma in host-release.sh
Add wilma in prepare-host.sh
2024-08-05 09:39:01 +02:00
Igor Pecovnik
264852642d
Packages: move base-files, bsp-desktop and desktop packages to RELEASE specific folders
2024-08-03 16:09:15 +02:00
schwar3kat
129dd4c3aa
Fix_rtl8189fs_WiFi_driver ( #6984 )
...
Fix wrong commit being pulled for rtl8189fs WiFi driver.
Add CONFIG_RTL8189FS=m to linux-sunxi-current.config and linux-sunxi64-current.config.
2024-07-23 17:16:54 +12:00
Ricardo Pardini
f3f89a78ec
utils-dpkgdeb: force rebuild of all artifacts, due to https://github.com/armbian/build/pull/6964 (ORAS change)
2024-07-21 10:25:10 +02:00
Ricardo Pardini
e4032228dd
oci-oras: fix for ORAS > 1.x, as it now requires `HOME` to be set (fixes `download-artifact`)
...
- it hasn't HOME when run under the matrix-prepare multiprocess launcher, so use TMPDIR
- fixes https://github.com/armbian/build/pull/6964
2024-07-21 10:24:23 +02:00
igorpecovnik
e5fe080b0a
tools: Bump `BATCAT_VERSION` from 0.23.0 to 0.24.0
2024-07-20 09:15:13 +02:00
igorpecovnik
f1e63eb8df
tools: Bump `ORAS_VERSION` from 0.16.0 to 1.2.0
2024-07-20 09:14:56 +02:00
igorpecovnik
984050a2df
tools: Bump `SHELLCHECK_VERSION` from 0.9.0 to 0.10.0
2024-07-20 09:14:06 +02:00
amazingfate
5bd400a726
add customized GHCR_MIRROR_ADDRESS support
2024-07-18 11:50:42 +02:00