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
Ricardo Pardini
4232661c37
u-boot: embed armbian artifact version in CONFIG_LOCALVERSION
...
- we're hacking at it anyway, so why not use it to uniquely identify the exact build
2024-07-07 13:06:56 +02:00
Viacheslav Bocharov
c27c55b0bc
Fix trap-logging to CI ant not GITHUB_ACTIONS
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-04 21:35:26 +02:00
Viacheslav Bocharov
d73c4cefab
Fix check CI && GITHUB_ACTIONS for GITHUB_OUTPUT to only GITHUB_ACTIONS
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-04 21:35:26 +02:00
Viacheslav Bocharov
7875fce1e9
Allow to pass docker login credentials to oras-cli for and CI environment
...
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-04 21:35:26 +02:00
Igor Pecovnik
f4555df0ba
Revert "git: git_ensure_safe_directory(): use env vars instead of changing config"
...
This reverts commit 11245601d0 .
2024-07-03 17:31:05 +02:00
ColorfulRhino
63ad4d935e
cli: Improve patching logs for U-Boot and kernel
2024-07-03 14:02:29 +02:00
Ricardo Pardini
11245601d0
git: git_ensure_safe_directory(): use env vars instead of changing config
2024-07-03 06:49:56 +02:00
Ricardo Pardini
d9b67b37d5
u-boot: use pipetty in place of unbuffer
...
- unbuffer never solved anything; pipetty might
2024-07-03 06:44:16 +02:00