Commit Graph

430 Commits

Author SHA1 Message Date
Igor Pecovnik
a2f9e1f1e5 Add a big warning and additional check when wiping target destination 2024-07-04 21:35:12 +02:00
Igor Pecovnik
26867787e5 Armbian-install: add option to wipe target destination 2024-07-04 21:35:12 +02:00
ColorfulRhino
ccf17a20e8 Purge s5p6818 board family
The family consists of 4 boards, but hasn't seen any activity in years,
is unmaintained, stuck on EOL Linux 4.14 and the bootloader does
not build.
2024-07-03 06:49:46 +02:00
Aleksey Vasenev
d5df9f06be Fix btrfs and xfs resize 2024-07-01 19:15:27 +02:00
Igor Pecovnik
2b494ae46f Add support for multiple wireless devies at firstlogin 2024-06-30 21:23:27 +02:00
Igor Pecovnik
c0c3102be9 Bugifx: addressing two problems at firstlogin script
- removing network manager dependancy
- errors when wireless networking is still not detected
2024-06-30 21:23:27 +02:00
ColorfulRhino
35f19090f9 bsp: armbian-firstrun: Remove old htop
They don't work on current versions of `htop`.
2024-06-30 12:27:41 +00:00
ColorfulRhino
c21b416c6e bsp: hardware-optimization: Add check for BOOT_SOC to fix rk322x optimizations
BOARDFAMILY `rk322x` was integrated into the `rockchip` BOARDFAMILY in https://github.com/armbian/build/pull/6092
This integration made the hardware optimization for rk322x not apply anymore.

Also remove a rk322x optimization for an old 4.4 kernel
2024-06-30 10:20:26 +00:00
Ricardo Pardini
d29305a05b armbianmonitor -u: rationalize paste server retrying, use ANSI dmesg
- use PIPESTATUS to check all steps for failure
- avoid blaming paste server if data collection failed
2024-06-30 09:07:50 +02:00
Ricardo Pardini
e67b52e00c armbianmonitor: squash shellcheck warnings around the main getopts case statement
- `b` and `B` were never parsed
- an `*` case is added to handle invalid options
2024-06-30 09:07:50 +02:00
Ricardo Pardini
5cdc55292d armbianmonitor: shellfmt, no changes 2024-06-30 09:07:50 +02:00
Igor Pecovnik
d317e5418e Remove random-mac workaround for rockchip64 family 2024-06-24 12:31:11 +02:00
Igor Pecovnik
7b33243c27 Use netplan mac setting only with systemd-networkd 2024-06-24 12:31:11 +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
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
Echoo
3096ee452d Add new user to render group 2024-05-18 09:47:24 +01:00
Alex
fe64f1f435
RFC: disable ssh.service - enable ssh.socket AND switch firstlogin reload ssh to restart (#6586)
* reload-or-restart ssh prevents botching if sshd is started by a systemd socket
* restart ssh prevents botching if sshd is started by a systemd socket
* move sshd activation from ssh.service to ssh.socket:
- more realiable, avoids possible race condition on first boot
- supplementary to PR#6586 - and commits ffee50a8a6 and 6725032191
* Add display_alert explaining the change in SSH activation
2024-05-17 15:30:13 +02:00
Lane Jennison
6f33e4f9ca armbian-hardware-optimize: add thought-provoking FIXMEs to inspire the next generation of tuners 2024-04-26 18:18:03 +08:00
Thomas Kaiser
26dec02ea1 Fully replace Armbian's former limited utilization of cpufrequtils package 2024-04-26 18:18:03 +08:00
Thomas Kaiser
71bd6633c6 Fix RK3588 NAS performance 2024-04-26 18:18:03 +08:00
Antony Kurniawan
4df3bddd64 ramlog: harden the zram mounting
this is to improve the score of /var/log for FILE-6374 in Lynis audit
2024-04-17 10:44:55 +00:00
Igor
c16151bed0
Add KDE Neon DE which provides latest and greates KDE DE v6.x (#6380)
* Add KDE Neon DE which provides latest and greates KDE DE v6.x
* Fixing most obvious problems
2024-03-09 19:49:59 +01:00
Igor Pecovnik
c2fe587716 Unifying style of variables 2024-03-03 16:08:04 +01:00
amazingfate
86865a446b move firstrun network config to firstlogin 2024-03-03 16:08:04 +01:00
amazingfate
cab0022fa9 add automatic support to armbian-firstlogin 2024-03-03 16:08:04 +01:00
Igor Pecovnik
d6391e491a Expand firstlogin config to support sddm autologin hack for 1st run 2024-03-03 15:39:34 +01:00
Igor Pecovnik
c7aec57e1c armbian-install should do rsync --one-file-system
Any mounted directory should not be copied but also mounted on the new boot device when booting
2024-03-02 21:01:26 +01:00
Marco Nelissen
5ec50d8e5e armbian-resize-filesystem: fix off-by-one error
armbian-resize-filesystem wants to align partitions on 16 MB boundaries,
however due to an off-by-one error it would make the last sector of the
partition start at a 16 MB boundary instead of ending at a 16 MB boundary.
2024-02-28 15:36:10 +01:00
SteeManMI
0cba1d16bf
Fix ddbr to handle current lsblk output (#6290)
Changes to be committed:
	modified:   packages/bsp/common/usr/sbin/ddbr
2024-02-20 16:49:29 -05:00
Didier 'OdyX' Raboud
9fe078eaac rockchip64: set the main ethernet interface optimizations to Helios64's end0 too 2024-01-26 08:38:53 +01:00
Didier 'OdyX' Raboud
9dba45a36f Helios64: Move irq smp_affinity optimisations to rockchip64
… as that's now its BOARDFAMILY
2024-01-26 08:38:53 +01:00
Igor Pecovnik
ea064e2698 Remove dangling symlink 2023-12-30 13:46:56 +01:00
Gunjan Gupta
91d329a66a armbian-firstlogin: fix locale list to include missing locales 2023-12-27 11:54:53 +01:00
Igor
c5c81a8b58
Move live patch to bsp extension and limit to startup patching (#6017)
* Move live patch to extension
* Move to the board support package and keep only startup patch
2023-12-14 10:36:44 +01:00
JuergenBausa
67e0bb2fbb Update armbian-ramlog
Original version destroyed journal on command postrotate as files in /var/log.hdd/journal are overwritten by cat. With the patch journal is not damaged anymore.
2023-12-09 07:55:10 +01:00
Igor
e95fbdcfad
Add simple patch system as a standalone service (#5935)
Sometimes we need to fix minor issues like changing the key or fixing other small problem on live OS. We can ship this as a part of BSP package, but its handling should be made easy.

This downloads script from CDN, verify its signature and executes after apt upgrade starts installing packages.

* Record patch output to syslog
* Enable armbian-live-patch as additional service and run patch mechanism at startup
* Additional security check
2023-11-27 13:01:20 +01:00
Igor Pecovnik
64037fb9ba On Mantic this would throw out an error
Failed to restart sshd.service: Unit sshd.service not found
2023-11-25 08:27:41 +01:00
Igor
6bcf74f2e7
Anonymize default build engine settings (#5865)
Improve naming confusion by changing build framework defaults. Set framework defaults VENDOR to Armbian-unofficial for self build images. Unsupported boards and unsupported distribution have framework defaults, except VENDOR and VENDORURL. We build images with predefined values.
2023-11-15 22:00:21 +01:00
Igor
47612c3426
Suppress locale warnings at first run when connecting via SSH (#4976)
* Suppress locale warnings at first run when connecting via SSH
* Move functionality to armbian firstlogin and firstrun scripts
2023-11-15 21:29:45 +01:00