Commit Graph

13680 Commits

Author SHA1 Message Date
Igor Pecovnik
75ce67f329 Run shellfmt to complete code v24.8.0-trunk.202 2024-06-22 19:22:24 +02:00
Alex
1341c19ef4 add device-tree-overlay to bsp-cli debian dependencies (#6779)
Fixes issue: [AR-2381](https://armbian.atlassian.net/browse/AR-2381)
2024-06-22 15:32:54 +02:00
Igor Pecovnik
8ccec185be Replace add_packages_to_rootfs with add_packages_to_image as we don't want to make caches for each variant
- also fixes a problem of generating caches all over again
- change cache date scheme name to force rebuild them all
2024-06-22 13:30:28 +02:00
ColorfulRhino
7f111510b4 rockchip-rk3588: edge: Rename rkvdec2 patch for improved clarity 2024-06-22 15:06:10 +08:00
amazingfate
cff6675517 Add chromium v4l2 decoder udev rule for rkvdec2 2024-06-22 15:06:10 +08:00
amazingfate
28193c630a rockchip-rk3588: edge: rewrite patches, no change 2024-06-22 15:06:10 +08:00
amazingfate
f790473789 rockchip-rk3588: edge: add rkvdec2 support 2024-06-22 15:06:10 +08:00
Alex Shumsky
bbd5699e13 partitioning: fix race condition on loop device allocation 2024-06-21 22:14:01 -04:00
Igor Pecovnik
db187a8a0f i3-wm: remove conflicting userspace packages 2024-06-21 11:56:32 +02:00
Igor Pecovnik
9d187dffeb Deboostrap: switch to last known working tag 2024-06-21 11:14:29 +02:00
chainsx
5d934c53e4 add community support for lckfb taishanpi v24.8.0-trunk.179 2024-06-20 20:00:55 +02:00
Alessandro Lannocca
5711d09775 comment network link-state saving prevention 2024-06-20 20:00:33 +02:00
Alessandro Lannocca
7653def211 fix armbian-leds-state-save.sh:
don't  store parameters for networking link establishment (avoid ghost wan/lan/eth link led up on bootup)
2024-06-20 20:00:33 +02:00
Igor Pecovnik
692574592b Add support for displaying multiple IP addresses at first login
If we have more ethernet devices, we want to list them one after another

Before:
IP address: 1.1.1.1
2.2.2.2

After
IP address: 1.1.1.1,2.2.2.2
2024-06-20 19:59:52 +02:00
Igor Pecovnik
942bd4188d Replace Network manager nmtui-connect with own method 2024-06-20 19:59:52 +02:00
Igor Pecovnik
ce16e75642 We can only set fixed map for ethernet devices as netplan wants to have defined AP for wifi. Which we don't have yet. 2024-06-20 19:59:52 +02:00
ColorfulRhino
ed45c8bfee cli: firstlogin: Fix and improve IP address retrieval
This should also include the case if zero retries are left, but the IP address has been found on this last retry.
2024-06-20 19:59:52 +02:00
ColorfulRhino
b6f018a2b1 net: Use resolved for DNS resolution
- Use resolved no matter what manages the network (networkd or NetworkManager)
- Use resolved.conf.d/ directory to set DNS as recommended by resolved itself
- In armbian-firstrun, remove config specific to mvebu64|mt7623 since this is now done by default
2024-06-20 19:59:52 +02:00
ColorfulRhino
6b7284be3e bsp: firstrun: Use Netplan for setting fixed MACs
Also remove `$BRANCH == dev` line since dev branch does not exist anymore
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a65cf4d9bb Remove ifupdown leftovers in the code 2024-06-20 19:59:52 +02:00
ColorfulRhino
56267aa0ad cli: firstlogin: Move IP address retrieval into function and don't run in bg
Trying to run this in the background does not work correctly in its current iteration, setting the correct place on the screen for displaying did not work out.
Includes minor fixes and wording improvements.
2024-06-20 19:59:52 +02:00
Igor Pecovnik
a95bdd920f Refactor automatic configuration at first run 2024-06-20 19:59:52 +02:00
ColorfulRhino
e6fc6d0990 cli: Make IP address retrieval on firstlogin run in the background
Otherwise we have to wait until the while loop finishes.
Also includes some fixes and comments.
2024-06-20 19:59:52 +02:00
ColorfulRhino
d1c6fa6e76 net: Remove NM_IGNORE_DEVICES variable
This variable was originally introduces for the board "Espressobin" (mvebu64): 38db0b55f9
Use a hook in the mvebu64 and mt7623 family config to set ignored devices for NetworkManager instead.
2024-06-20 19:59:52 +02:00
ColorfulRhino
a8a55ddbf2 net: Remove old ifupdown stuff
This stuff is not needed anymore. Things will likely work as expected, even when installing ifupdown2
2024-06-20 19:59:52 +02:00
ColorfulRhino
78bd36b5a6 cli: Use recommended method for symlinking /etc/resolv.conf 2024-06-20 19:59:52 +02:00
ColorfulRhino
497c6dce0e extension: net: Refactor, fix and improve network extensions
- Rename extensions with "net-*" prefix
- Put the extensions into their own folder
- Split off time sync packages into their own extensions to be able to be used separately
- Put their config files into directories instead of using inline `cat <<- EOF >`
- Move some other NetworkManager related stuff into the extension
- Remove unneeded steps
- Install iproute2 by default on all images (for the `ip` command)
2024-06-20 19:59:52 +02:00
Igor Pecovnik
f4b160abde Move Network Manager bits into extensions
- use Chrony with Network Manager
- use timesync with systemd-networkd
- use NetPlan with Network manager only
- move command-not-found to CLI image only
- improve firstlogin ip detection
2024-06-20 19:59:52 +02:00
ZHANG Yuntian
e0762bbbb7 aic8800: update firmware package URL (#6768)
Firmware package was incorrectly marked as machine dependent.
This was fixed in radxa-pkg/aic8800#12, causing the file name to change.

Signed-off-by: ZHANG Yuntian <yt@radxa.com>
2024-06-20 11:26:13 +02:00
ColorfulRhino
5a19cb410e actions: Have auto-labeler check subdirectories
This fixes a lot of labels not getting applied properly.
v24.8.0-trunk.176
2024-06-19 20:50:48 +00:00
chainsx
568536a0eb station-m2: use mainline u-boot 2024-06-19 20:50:40 +00:00
ColorfulRhino
f6e3624a60 packages: Enable bash-completion on all images
bash-completion adds the functionality for autocompleting command when pressing <TAB>.
2024-06-19 20:50:31 +00:00
Igor Pecovnik
b2aea3ba42 Debian buster: disable non-existing backports repository 2024-06-18 21:47:21 +02:00
Andy Yan
7919729199 Add support for rk3399 based SBC Leez P710
Signed-off-by: Andy Yan <andyshrk@gmail.com>
Signed-off-by: Andy Yan <andyshrk@163.com>
2024-06-18 10:41:02 +00:00
ColorfulRhino
4819b81154 sm8250: Delete leftover 6.5 and 6.6 kernel patch folders 2024-06-18 11:33:45 +08:00
amazingfate
0b09411c83 bump sm8250-edge to 6.10 2024-06-18 11:33:45 +08:00
amazingfate
cf4495d4ce xiaomi-elish: Generate bluetooth mac address from machine-id Since v6.9 default mac bluetooth address of QCA6390 "00:00:00:00:5a:ad" is no longer usable. So we have to generate a new one. 2024-06-18 11:33:45 +08:00
amazingfate
8365343dd9 sm8250-current: Bump to v6.9 2024-06-18 11:33:45 +08:00
ColorfulRhino
c14e1664b6 kernel: mainline: Bump 6.10-rc3 to 6.10-rc4
Including kernel config rewrite for RK3588
2024-06-17 14:31:00 +02:00
ColorfulRhino
0813594057 board: nanopi-r6s: Add system-power-controller to pmic
Without this, the board can't be powered off with the `poweroff` command.
Also affects NanoPi R6C.
2024-06-17 12:20:06 +00:00
Muhammed Efe Cetin
d2e40d6b0e khadas-edge2: add vendor uboot to images 2024-06-17 14:11:33 +02:00
Muhammed Efe Cetin
9432db1acc rockchip64: add support for OPTEE blobs 2024-06-17 14:11:33 +02:00
ColorfulRhino
01edf1c33e board: orangepi-5-plus: Add latest DDR and BL31 blobs
Also fix function naming
2024-06-17 11:09:20 +00:00
ColorfulRhino
3df4773ad3 board: orangepi-5-plus: Add mainline U-Boot for edge kernel
Also improve board specs list
2024-06-17 11:09:20 +00:00
amazingfate
151e14b6a7 rockchip-rk3588-edge: fix vepu of rk3588 2024-06-17 11:23:52 +02:00
Alex Shumsky
1ab1719e61 uboot-2024.04: fix boot from btrfs fs 2024-06-17 08:24:52 +02:00
Alex Shumsky
fe096b0c16 uboot-2024.01: fix boot from btrfs fs 2024-06-17 08:24:52 +02:00
Muhammed Efe Cetin
85f0469d2b khadas-edge2: rename audios 2024-06-17 08:24:27 +02:00
ColorfulRhino
0bf3ba7607 cli: Fix DEFAULT_OVERLAYS array
Shellcheck errors/warnings were:
In lib/functions/rootfs/distro-agnostic.sh line 155:
	display_alert "Adding to extlinux.conf" "fdtoverlays=${DEFAULT_OVERLAYS[@]}" "debug"
                                                         ^--------------------^ SC2145 (error): Argument mixes string and array. Use * or separate argument.

In lib/functions/rootfs/distro-agnostic.sh line 156:
	echo "  fdtoverlays ${DEFAULT_OVERLAYS[@]}" >> "$SDCARD/boot/extlinux/extlinux.conf"
                        ^--------------------^ SC2145 (error): Argument mixes string and array. Use * or separate argument.

In lib/functions/rootfs/distro-agnostic.sh line 193:
	if [[ -n $DEFAULT_OVERLAYS && -f "${SDCARD}"/boot/armbianEnv.txt ]]; then
             ^---------------^ SC2128 (warning): Expanding an array without an index only gives the first element.
2024-06-16 11:23:15 +00:00
ColorfulRhino
5dcb33a960 actions: Fix typo in actions/labeler labeler.yml (#6745)
It's not "any-globs-to-all-files", but "any-glob-to-all-files"
2024-06-15 09:44:48 +02:00