Tom Urlings
826309f7bc
rockchip64/rk3328: U-Boot v2022.04/07 add setexpr
...
- aimed at nanopi-r2s and nanopineo3
- impacts:
- boards (re)using 'nanopi-r2s-rk3328_defconfig' (rk3328)
and:
- boards using U-Boot v2022.04 or
- boards using U-Boot v2022.07
- added explicit dependency on python3-setuptools as (at least) U-Boot
v2022.04 and v2022.07 fail building due to missing 'distutils' for
boards that use U-Boot v2022.04 or v2022.07
2025-06-03 09:56:09 +02:00
Rolf Leggewie
81d65b09b9
lib distro-specific.sh: move armbian GPG to more common location
2025-05-30 04:06:39 +08:00
Andrei Aldea
557457e4cc
Revert Changes to library-functions
...
Was auto-regenerated
2025-05-29 19:30:15 +02:00
Andrei Aldea
d824a53b58
Add Kernel Version Parsing and Custom Description
...
Adds ability to set custom descriptions for kernel inside family config and parses for kernel version.
2025-05-29 19:30:15 +02:00
Ricardo Pardini
39fef63e73
kernel-debs: if make clean fails (logs to bitbucket), do it again, but show the logs
2025-05-29 18:32:47 +02:00
Ricardo Pardini
d4945ec071
artifacts-obtain: pack_artifact_to_local_cache: force a fsync() before packing
2025-05-29 18:31:50 +02:00
Ricardo Pardini
03c47689cb
docker: 50%+ faster during "enabling all extensions looking for Docker dependencies"
...
- 7s+ -> 3s
- by using `enable_extensions_with_hostdeps_builtin_and_user "add_host_dependencies" "host_dependencies_known"` instead of `enable_all_extensions_builtin_and_user`
2025-05-29 17:58:28 +02:00
Ricardo Pardini
10570df804
extensions: introduce enable_extensions_with_hostdeps_builtin_and_user()
...
- this is an alternative to `enable_all_extensions_builtin_and_user()`
- this one greps the files for the hooks we're interested in
2025-05-29 17:58:28 +02:00
Ricardo Pardini
fa0d9ab820
rootfs-to-image: do not use --sparse, it's _very slow_ on certain IO/FS combos
...
- Revert "rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync"
This reverts commit 4fd0e0c29d .
2025-05-29 17:55:27 +02:00
Ricardo Pardini
53e72aae25
drivers_network: fix uwe5622 for kernel 6.15
...
- just a ton of hackfixes ref e4c416533f
2025-05-29 09:33:29 +02:00
Ricardo Pardini
76e3e203a9
drivers_network: driver_rtl8723DS: use armbian/rtl8723ds instead of domin144's fork
...
- there's a fork under Armbian org now for this driver
2025-05-29 09:33:29 +02:00
Dominik Wójt
96b9fad8c3
drivers_network: fix some wlan drivers compilation 6.15 kernel
2025-05-29 09:33:29 +02:00
Igor Velkov
5815951516
Work if no customize-image.sh file present
2025-05-27 15:43:00 +02:00
alex3d
df6a133a14
partitioning: fix compressed BTRFS creation
2025-05-18 17:43:21 +02:00
Viacheslav Bocharov
9555f7ef62
Update Realtek RTL8822CS external driver
2025-05-16 19:01:14 +02:00
igorpecovnik
384daea694
tools: Bump ORAS_VERSION from 1.2.2 to 1.2.3
2025-05-16 19:00:58 +02:00
Igor Pecovnik
5216e732cd
Revert "add in cache to the image, allowing caching in customize image step"
...
This reverts commit 9eaa276457 .
2025-05-15 16:43:51 +02:00
Ben Hoff
9eaa276457
add in cache to the image, allowing caching in customize image step
2025-05-14 17:19:23 +02:00
Igor Pecovnik
4dc9b00fb0
Framework: switch Docker default image to Noble
2025-05-14 11:59:12 +02:00
Ricardo Squassina Lee
c897044aeb
Update prepare-host.sh
...
migrate to ntpsec-ntpdate as a more secure implementation of ntpdate and available in Debian and Ubunbtu
2025-05-12 16:54:24 +02:00
Franklyn Tackitt
4a8199b992
partitioning: Use btrfs set-default MOUNT/subvolume
...
This simplifies the code, removing the need to grep/cut the output of btrfs subvolume list
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
76470b1dad
partitioning: Rely on the btrfs default subvolume for remounting
...
This allows changes to the default subvolume in `btrfs_root_add_subvolumes`
to propagate as needed into the final image.
2025-05-05 06:15:50 +02:00
Franklyn Tackitt
9f37e55980
partitioning: Add BTRFS_ROOT_SUBVOLUME switch
...
This allows changing the default root subvolume from @ to any user
defined subvolume name
2025-05-05 06:15:50 +02:00
FantasyGmm
76229701ca
Adding Variables to Set the Sector Size for UFS Devices
2025-04-19 13:19:13 +02:00
Werner
1c0e3c9b0d
Update prepare-host.sh
...
I don't know. This doesn't feel right. The package exists in Jammy, Noble and Bookworm in both amd64 and arm64 variants so should be good...though it is probably not needed in all constellations.
Still it is part of the toolchain and not generic packages. If this gets merged as it is this should be revisited.
2025-04-19 13:18:55 +02:00
EvilOlaf
f365339980
add new host build dependency for noble
2025-04-19 13:18:55 +02:00
Werner
204c646cc6
rockchip64: fix atf build, bump ATF to latest tag
2025-04-19 13:18:55 +02:00
Werner
11c285872e
Fix ORAS tooling download due to absense of wget ( #8104 )
...
* move `wget` to basic deps
* fix spaces
2025-04-19 13:17:31 +02:00
Franklyn Tackitt
58a3d74eec
fix: update jq in apt-utils to use filter arguments
...
This fixes the issue where jq sometimes fails to compile the filter when parsing
base-files.json
2025-04-19 07:56:05 +02:00
Igor Velkov
ab6587ac05
If rootfs placed on btrfs filesystem, place root on @ subvolume
...
It makes possible to work with snapshots of a root filesystem
2025-04-16 23:33:07 +02:00
Werner
554580ae34
copy example config at first start
2025-04-16 23:32:14 +02:00
Ricardo Pardini
484aac7df2
lib/tools/info: mapper-oci-uptodate: adapt to oras-py 0.2 api change
2025-04-12 20:06:13 +02:00
Ricardo Pardini
9e5ca480d2
lib/tools: Python CLI for ORAS (add non-existing case)
2025-04-12 20:06:13 +02:00
Ricardo Pardini
5d712c242a
lib/tools: Python CLI for ORAS (bump to 0.2.y, api change, not too bad)
2025-04-12 20:06:13 +02:00
Ricardo Pardini
89eae213a7
lib/tools: Python CLI for ORAS (0.1.y)
2025-04-12 20:06:13 +02:00
JohnTheCoolingFan
5795f7202a
Fix rtl8189fs driver commit version
...
Used the commit of the same date which is currently the head of the
`rtl8189fs` branch. The issue was that the rtl8189es `master` branch was
used.
2025-04-12 17:25:21 +03:00
Igor Pecovnik
451547b0d4
Add VENDOR color to BSP and artifacts hashing
2025-03-31 21:37:55 +02:00
Ricardo Pardini
4aa306c740
drivers_network: bump rtl8812au for 6.14.y
...
- https://github.com/aircrack-ng/rtl8812au/pull/1226 landed
2025-03-31 21:37:24 +02:00
Ricardo Pardini
454c49626d
Revert "drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)"
...
This reverts commit 6b74df6f2c .
2025-03-31 21:37:24 +02:00
Igor Pecovnik
9c206d0175
Drop examples as they are not needed for hooks
2025-03-31 20:50:39 +02:00
coderabbitai[bot]
bd5bf38593
📝 Add docstrings to netkit
...
Docstrings generation was requested by @igorpecovnik.
* https://github.com/armbian/build/pull/8036#issuecomment-2766658224
The following files were modified:
* `lib/functions/compilation/armbian-kernel.sh`
2025-03-31 20:50:39 +02:00
Igor Pecovnik
f029ab11c4
Enable NETKIT feature for all armbian-kernels => 6.7
2025-03-31 20:50:39 +02:00
Mecid
a322285cfb
Replace bsdmainutils with bsdextrautils
2025-03-28 12:38:01 +01:00
Mecid
322f86ff69
Add bsdmainutils to host dependencies in prepare-host.sh
...
for mac80211 in 6.14 which failed requiring hexdump
2025-03-28 12:38:01 +01:00
Igor Pecovnik
a0c35c73a6
Add support for MOTD logo colors
...
- we might want to have different welcome colors for stable and nightly images
- this adds another branding option alongside with VENDOR, VENDORURL, VENDORSUPPORT, ...
2025-03-28 12:36:52 +01:00
Igor Pecovnik
c20fba9908
UEFI: add cloud kernel under cloud branch
2025-03-27 19:24:07 +01:00
coderabbitai[bot]
e4c7d24229
📝 Add docstrings to armbiankernel
...
Docstrings generation was requested by @igorpecovnik.
* https://github.com/armbian/build/pull/8014#issuecomment-2755642576
The following files were modified:
* `lib/functions/compilation/armbian-kernel.sh`
2025-03-27 12:50:03 +01:00
Igor Pecovnik
eb62028fa0
Armbian kernel: add ZRAM and DOCKER configurations
...
Those two are present in all kernels
2025-03-27 12:50:03 +01:00
Paolo Sabatino
7c55b4fce9
bump rockchip 32bit edge kernel to v6.14
2025-03-26 22:23:29 +01:00
Ricardo Pardini
6b74df6f2c
drivers_network: HACK: bump rtl8812au (forked until PR merged upstream)
...
- revert this and update sha1 after https://github.com/aircrack-ng/rtl8812au/pull/1226 lands
2025-03-26 10:05:36 +01:00
Ricardo Pardini
94bab3bb81
drivers_network: bump rtl88x2cs for 6.14.y
...
- ref https://github.com/jethome-ru/rtl88x2cs/pull/13 (done, thanks adeepv)
2025-03-26 10:05:36 +01:00
Ricardo Pardini
3777676009
drivers_network: bump rtl8189es/rtl8189fs/rtl8812au/rtl8811cu/rtl88x2bu for 6.14.y
2025-03-26 10:05:36 +01:00
Ian Goodacre
86ea59c378
Fix patching.sh to include untracked (new) files in patch
2025-03-23 20:50:33 +01:00
Rolf Leggewie
5e8ab3ae8b
BSP: make -cli packages provide the armbian-bsp-cli virtual package
2025-03-23 20:49:51 +01:00
Rolf Leggewie
09267e3b5d
nitpick: spell check s/neeeded/needed/
2025-03-19 22:24:48 +01:00
Igor Pecovnik
4530b26278
Revert "Stop altering global git config file and set safe per cloned repository"
...
This reverts commit ccde662ccb .
2025-03-16 17:26:49 +01:00
Igor Pecovnik
ccde662ccb
Stop altering global git config file and set safe per cloned repository
2025-03-16 11:53:56 +01:00
igorpecovnik
19b0a062a7
tools: Bump SHELLFMT_VERSION from 3.10.0 to 3.11.0
2025-03-16 11:53:12 +01:00
Igor Pecovnik
3199178c70
Multiple sources fix: after changing to deb822 we forgot on leftovers
...
- deboostrap still uses old ways and we need to remove this file
- when displaying the content of sources, we need to look correct file
2025-03-05 10:40:48 +01:00
amazingfate
47381df472
wireless: fix build with kernel 6.14
2025-02-26 21:40:01 +08:00
Igor Pecovnik
b47d408ff7
After changing apt lists methodology, we need to rebuild rootfs cache
2025-02-24 12:43:04 +01:00
Blieque Mariguan
8e75c8ebd1
feat: Use deb822 APT sources
...
- Replace `armbian.list` with `armbian.sources`. This holds the same
information in a newer format, deb822.
- Replace HTTP with HTTPS for Armbian repositories.
2025-02-24 09:23:11 +01:00
Ricardo Pardini
370f85b067
python3: do not rely on hostdeps python3-pip nor python3-dev; deploy pip via get-pip.py
...
- python3-pip implies a very old setuptools (which is system-wide and takes precedence)
- python3-dev implies python3-distutils (which is long deprecated)
- get-pip.py allows us to version pip in requirements.txt just like everything else
- in the end this fixes the conundrum with pylibfdt / dtschema on Jammy
- and, finally, the setuptools we specify in requirements.txt will be actually used
2025-02-24 09:21:53 +01:00
Ricardo Pardini
0c7596bd5a
export-logs: use multiple paste servers in order until one works
...
- user can override by setting PASTE_SERVER_HOST=some.paste.server.com
2025-02-22 22:35:45 -03:00
amazingfate
94949aec8a
kernel: fix for 6.14 make clean fail at tools dir due to upstream dir change
2025-02-22 23:19:31 +08:00
Igor Pecovnik
ec2544e005
Bugfix: Remove directories from sha files
2025-02-10 20:17:25 +01:00
Ricardo Pardini
51b300ebdf
armbian-kernel.sh: introduce KERNEL_BTF=no to opt-out of BTF/CO-RE type-info on low-RAM machines
...
- turns out `pahole` for `vmlinux` can take multiple gigabytes of RAM to run successfully
- I can't simply decide based on available RAM, as that would make .config hashes mismatch
- thus, introduce:
- default is to enable BTF; if on low-ram host, error out unless KERNEL_BTF=yes is passed
- if KERNEL_BTF=no is passed, the BTF debug info is always disabled
- if KERNEL_BTF=yes is passed, then a warning is produced, but BTF is still enabled
- the magic number "6451 MiB" was determined empirically (and is probably bs)
2025-02-09 15:55:28 +01:00
Blieque Mariguan
3743daffa2
feat: Use deb822 APT source for armbian-config
...
- Replace creation of `armbian-config.list` with
`armbian-config.sources`. This holds the same information in a newer
format, deb822. This does not affect `armbian.list`.
See also: https://github.com/armbian/configng/pull/407
2025-02-04 18:49:52 +01:00
Igor Pecovnik
1477b478c5
Add upstream release as csc target: Ubuntu plucky 25.04
2025-01-23 18:30:49 +01:00
Lane Jennison
de97c74ae5
disable ccache in a friendly way
2025-01-23 15:12:27 +03:00
amazingfate
d4b5c30e09
wifi drivers: update commit id of rtl8811cu and rtl88x2bu
2025-01-22 10:01:37 +01:00
amazingfate
1f92b07c38
wireless: fix build with kernel 6.13
2025-01-21 19:35:49 +01:00
github-actions[bot]
7ea4cb3b8d
tools: Bump BATCAT_VERSION from 0.24.0 to 0.25.0 ( #7706 )
2025-01-21 13:28:56 +01:00
igorpecovnik
1557c9fcf0
tools: Bump ORAS_VERSION from 1.2.1 to 1.2.2
2025-01-21 13:28:08 +01:00
Ricardo Pardini
f21e700dc6
git: squash spurious warning when checking safe.directory
2025-01-21 13:25:36 +01:00
Ricardo Pardini
2f2c81744a
kernel: call oldconfig _after_ kernel config hooks; add hook for CONFIG_CFG80211=m and CONFIG_MAC80211=m on 6.13+
...
- we need to run the hooks _before_ running oldconfig, otherwise it is too late
- drop `kernel_config_check_and_repair()` since it won't ever detect anything now
2025-01-21 13:25:11 +01:00
amazingfate
611746bfc2
Revert "armbian-kernel: skip enabling BTF for rk35xx vendor kernel"
...
This reverts commit b17e9e5db1 .
2025-01-21 13:24:58 +01:00
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
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
ColorfulRhino
7e9adb3811
cli: uboot: Move uboot_cflags variable to before its first use
2024-07-18 11:42:16 +02:00
amazingfate
ee145942fe
wifi: rtl8852bs: add driver for family instead of board
2024-07-13 17:50:20 +08:00
JohnTheCoolingFan
8162899d3d
Add MKNOD capability to docker container ( #6927 )
...
* Added MKNOD capability to docker container
* Added comment explaining why MKNOD capability is needed
2024-07-11 16:09:43 +03:00
ColorfulRhino
f25fc42e1e
wifi: rtl8852bs: Add some comments
2024-07-11 09:55:16 +08:00
amazingfate
9381edb69d
wifi: rtl8852bs: fix build for rockchip
2024-07-11 09:55:16 +08:00
ColorfulRhino
d638276fcc
partitioning: Reduce commit mount option for btrfs and ext4 to 120
...
Mount option `commit=600` (=10 minutes) seems pretty high.
Reduce it to 120 for ext4 (default for ext4 is `commit=5`)
and 120 for btrfs (default for btrfs is `commit=30`) to reduce
risk of losing data on power loss.
Sources:
- https://www.kernel.org/doc/html/latest/admin-guide/ext4.html
- https://wiki.archlinux.org/title/Btrfs#Commit_interval
- https://btrfs.readthedocs.io/en/latest/Administration.html
2024-07-09 11:31:51 +02:00
ColorfulRhino
39fdf21b98
Beautify shellfmt and add board configs to formatting list ( #6910 )
...
* tools: shellfmt: Beautify and add board configs to formatting list
* Format the whole code using `lib/tools/shellfmt.sh`
---------
Co-authored-by: Igor <igor@armbian.com>
2024-07-08 17:00:38 +02:00
ColorfulRhino
8056532684
cli: main-config: Move NETWORKING_STACK config after family config
...
This allows family configs to change the networking stack.
2024-07-08 16:54:36 +02:00
ColorfulRhino
5bb665f965
cli: uboot: Remove HOME workaround for old tinkerboard/xt-q8l-v10 U-Boot
...
This temporary workaround was only needed for tinkerboard and xt-q8l-v10 version 2022.04 U-Boot. The version has since bumped to 2024.07 and builds fine without this.
2024-07-08 13:02:15 +02:00