Commit Graph

493 Commits

Author SHA1 Message Date
Igor Pecovnik
c68d4c62d4 Enable direct flashing method in armbian-install menu
https://github.com/armbian/configng/pull/705
2025-12-11 04:36:06 +08:00
Igor Pecovnik
9b2843d225 Desktop (mainly Gnome ) - add additional packages, small fixes and improvements 2025-11-20 19:39:15 +01:00
Igor Pecovnik
b21d883fb1 MOTD: deterministic spacing, tidy and compact output 2025-11-15 10:18:47 +01:00
N-Storm
d5182b43bf Preserve timestamps when copying log files
Add timestamp preservation when copying log files.
2025-11-13 08:44:52 +01:00
Igor
347a93f3bd
First login: create docker group and add normal user to it (#8920)
* First login: create docker group and add normal user to it

* Update packages/bsp/common/usr/lib/armbian/armbian-firstlogin

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-11-12 18:02:56 +01:00
Werner
66453c636f minor grammar adjustments 2025-11-10 11:47:25 +01:00
Igor Pecovnik
6438ef76cf Improve first login for automated builds 2025-11-10 11:47:25 +01:00
Igor Pecovnik
9e00b6c107 Armbian install progress bar wasn't working for awhile 2025-11-10 11:47:13 +01:00
JohnTheCoolingFan
908bbc2be8
Armbian-install script fixes (#8654)
* armbian-install: set `rootfstype` when installing with MTD flash boot

* armbian-install: add check for btrfs-progs

* Ensure `rootfstype` is set in the MTD boot scenario

* Change exit code to 12 when the user denies installing btrfs-progs

* Check for `mkfs.btrfs` instead of `btrfs`

* run debian noninteractive

* Check for mkfs.btrfs even after running the apt-get commands
2025-11-06 01:08:59 +01:00
Alex Simkin
2842de0ca1 bugfix: use --nodeps instead of | head -1 in lsblk calls for predictable output
for some reason lsblk order for -o X is different between EMMC and NVME

see https://github.com/armbian/build/pull/8805#issuecomment-3448517520
2025-11-02 20:15:19 +01:00
Alex Simkin
b47445c990 add CRYPTROOT_AUTOUNLOCK option and fix CRYPTROOT for uefi builds
fixes #6280
2025-11-02 20:15:19 +01:00
Chris Wang
1bb20a36f9 Added new kde-plasma-mobile environment for trixie, with sddm support for touchscreen by default; changed armbian to only write armbian sddm config if doesn't exist; 2025-10-23 22:38:36 +02:00
Marcello Sylvester Bauer
19bd28dc67 fix(armbian-firstlogin): Enable wlan dhcp by default
Currently, WLAN DHCP is only enabled when the value of
PRESET_NET_USE_STATIC is explicitly set to 0. It is not enabled when
this configuration is uncommented or omitted. This change adjusts the
behavior so that DHCP is enabled by default unless a static network
configuration is used.

Signed-off-by: Marcello Sylvester Bauer <marcello.bauer@9elements.com>
2025-10-23 22:05:09 +02:00
tabris
189bcafdcf bsp armbian-ramlog - move HDD_LOG declaration before sourcing /etc/default/armbian-ramlog
don't do clever things when using overridden HDD_LOG
2025-10-22 13:34:18 +02:00
The-going
915444570a bsp: armbian-install: Correct the eMMC indication for some devices.
On some devices, the eMMC chip does not have a separate boot0 partition.
Use the system interface to determine the SD or eMMC memory type.
2025-10-11 14:04:35 +02:00
Igor Pecovnik
12d60bc169 Armbian-zram-config mkfs detecion gets empty string 2025-09-26 10:23:59 +02:00
Vasco Guita
ef28357561 fix(armbian-firstlogin): use PRESET_USER_KEY instead of PRESET_ROOT_KEY for user SSH key 2025-08-07 14:32:52 +08:00
Jianfeng Liu
05581e4b6b fix firstlogin failed to create password on sid 2025-07-22 18:35:27 +02:00
Igor Pecovnik
3473794977 Armbian-install: disable Docker when installing images
enable back on exit
2025-06-23 20:34:18 +02:00
Igor Pecovnik
b2fd69b34d Enable HiDPI support only if the framebuffer size is detectable 2025-05-29 18:50:43 +02:00
Igor Pecovnik
0cfdb8c7e4 Allwinner: Replace bc with awk for floating-point comparison in temperature check 2025-05-27 15:55:14 +02:00
Igor Velkov
810ea3eefe Install to nvme: place root volume to separate subvolume when btrfs fs used 2025-04-21 10:24:45 +02:00
Igor Pecovnik
00674806d5 Fix ZRAM service due to parameter deprecation in mkfs > 2.40.1 (Trixe / Plucky) 2025-04-19 13:16:47 +02:00
Milivoje Legenovic
8f1b441dfc Fixed errors and warnings found in journald 2025-03-27 14:43:40 +01:00
Martin Schmiedel
d19cc80175 armbian-firstlogin: remove superfluous break
fix: /usr/lib/armbian/armbian-firstlogin: line 406:
break: only meaningful in a `for', `while', or `until' loop

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2025-03-27 14:43:17 +01:00
Igor Pecovnik
56b773cf8a ZRAM config: suppress errors when kernel support is not there 2025-03-27 12:50:03 +01:00
Ian Goodacre
288e5216bc Allow NetworkManager and systemd-networkd
While it is unusual to run both NetworkManager and systemd-networkd
simultaneiously and doing so can cause startup problems, there is
nothing inherently wrong with doing so: the services are not
incompatible and some people run both, each managing different
interfaces.

The Armbian build framework enables one or the other but not both.
Therefore, if both are enabled at first login, it is probably because
the user has manually modified the image. In this case, trust that the
user knows what they are doing and don't disable one of them.
2025-03-18 13:20:26 +01:00
Ian Goodacre
36c4b913e3 Always disable systemd-networkd if both managers enabled
NetworkManager and systemd-networkd should never both be enabled
at the same time. In this case, disable systemd-networkd, with
message to the user that this is being done.
2025-03-16 11:53:30 +01:00
Ian Goodacre
28df43da15 Improve armbian-firstlogin script
Avoid waiting for the NetworkManager-wait-online or
systemd-networkd-wait-online service to complete in the midst of
prompting for root account password.
2025-03-16 11:53:30 +01:00
Igor Pecovnik
7f32a58535 Enable wait-online.service in firstlogin config
Reasoning: https://github.com/armbian/build/issues/7896
2025-03-07 19:50:26 +01:00
Igor
bc331a6d82 Update packages/bsp/common/etc/update-motd.d/10-armbian-header
Co-authored-by: Fridtjof Mund <fridtjof@das-labor.org>
2025-02-20 06:58:38 +01:00
Igor Pecovnik
3981d58bba Raspberry Pi family: read motd board name from /proc/cpuinfo
- also adjust hostname if they are Armbian defaults
- drop rpi5b build config as they all run with one image
2025-02-20 06:58:38 +01:00
Thorsten Maerz
a8abed8d46 firstlogin: bring up wifi device before scanning
Scanning accesspoints requires an activated wifi device.
Networkd does not activate it (only NetworkManager does so).
As a result, firstlogin is not able to configure and use wifi on minimal
images, as only Server and Desktop images have NetworkManeger installed.
Activating the wifi device using "ip link set ${WIFI_DEVICE} up" before
scanning fixes this.
(And can safely be done - there is no problem activating it multiple
times, as it is the case with NetworkManager installed.)
2025-02-08 19:38:37 +01:00
Igor Pecovnik
bb02c3b951 Firstlogin: run provision script if it does exists
- fixing motd setting executing bit at wrong place
- when setting fixed address with 1st run, remove DHCP on all lan networks
2025-01-12 20:52:08 +01:00
Igor Pecovnik
dfe55bce0b UEFI: bugfix generation EFI partition 2025-01-11 21:52:15 +01:00
Werner
9e6ef2c3d5 Add another paste server
Because we can...and because its been there for a while and seems to just work
2024-11-25 11:32:56 +01: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
Ricardo Pardini
d66285dceb armbianmonitor: call curl with --fail flag so server 400/500 errors actually trigger a retry
- otherwise, curl thinks a 4xx or 5xx error is perfectly acceptable. who knew?
2024-11-17 14:33:26 +01:00
Werner
fb261bb49b fix iostat on MINIMAL
`MINIMAL` do not have `iostat` so suppress the error occurring when doing `armbianmonitor -u` on such systems.
2024-11-09 21:05:49 +01:00
Igor Pecovnik
cc704f49a6 Cosmetic bugfix - we need to limit grep to match first character only
Without this, we grep upgrade options too and this fill give wrong information
2024-11-05 16:34:41 +01:00
Igor Pecovnik
01218eefa4 UX bugfix: on first run we display some warnings if userspace is unsupported. It broke down.
Since expanding distribution status with upgrade target, this condition stop working

Related: https://github.com/armbian/build/pull/7303
2024-11-03 17:43:02 +01:00
Igor Pecovnik
eab612e2a7 Firstlogin automation - add support for SSH key download
- allow automation in interactive mode too. Currently disabled for no apparent reason.
2024-10-22 13:04:11 +02:00
Alex Shumsky
73d521da42 ramlog: remove obsolete nocache; fixes #6890 2024-10-15 15:56:55 +02:00
Paolo
2960ffaff2
avoid binary led parameters, better handle :link triggers (#7337) 2024-10-06 12:22:45 +02:00
Ian Leung
9063695a9e Orange Pi 3B: Vendor: Enable audio via headphone jack 2024-10-04 07:20:38 +02:00
Igor Pecovnik
140ea243fc Replace wireless-tools app with iw in armbian-first-login 2024-09-30 18:39:23 +02:00
Gunjan Gupta
31e88922ad Fix connecting to wifi networks where SSID contains a space or comma 2024-09-25 13:02:53 +02:00
Igor Pecovnik
17e1af68cf UX: cosmetic improvements on motd and armbian-install 2024-09-18 16:31:46 +02:00
Igor Pecovnik
c6a0cd50a8 Cosmetic / UX: Display VENDORPRETTYNAME instead of VENDOR on 1st welcome screen
If defined
2024-09-17 06:54:42 +02:00
David Andreoletti
f145fc2af2 armbian-firstrun: Optionally skip OpenSSH host key regeneration 2024-09-15 11:42:29 +02:00