Commit Graph

284 Commits

Author SHA1 Message Date
Igor Pecovnik
5abb97453f Refactor mesa-vpu extension: simplify and add arch-specific browser selection
- Remove legacy panfork/kisak PPAs and image suffix logic
- Restrict Rockchip multimedia to noble+vendor only
- Simplify chromium installation (remove distribution checks)
- Add new post_armbian_repo_customize_image__browser() function for
  architecture-dependent browser selection:
  - amd64: google-chrome-stable
  - arm64/armhf: chromium
  - other: firefox

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-02-03 18:14:41 +01:00
Igor Pecovnik
f169f2c22c Change PIN-ing policy. We host non snap versions of Firefox and Thunderbird 2026-02-03 18:14:41 +01:00
Igor Pecovnik
25790ca604 fix: motd: simplify uptime display format and align properly
Replace verbose "1 day, 6 hours, 17 minutes" format with compact
"1d 6h" style for better readability. Fix alignment with Load
and Local users fields. Reads uptime directly from /proc/uptime.
2026-01-27 23:41:53 +01:00
Igor Pecovnik
ad45d09ca4 fix: motd: fix inconsistent delimiter in container names display
The paste -sd', ' - command treats each character as a separate
delimiter to alternate between, resulting in inconsistent spacing.
Fix by using single comma delimiter then adding spaces with sed.
2026-01-27 23:41:53 +01:00
Igor Pecovnik
e2653ecb39 fix: motd: improve command alignment in 41-commands script
- Simplify printf format string and fix invalid %-0s specifier
- Use underscore for intentionally unused sudo variable
- Add proper color formatting to commands
- Improve alignment of command output
2026-01-27 23:41:53 +01:00
Igor Pecovnik
75ff6500e4 fix: motd: security hardening for 41-commands script
- Replace unquoted variable parsing with IFS+read for proper splitting
- Quote all variables to prevent word splitting and globbing
- Use proper [[ test ]] instead of [ test ] for consistency
- Fix printf format string to use proper argument passing
- Add short-circuit evaluation for "true" conditions to avoid eval
- Maintain same functionality with improved security
2026-01-27 23:41:53 +01:00
Igor Pecovnik
a4574e824a fix: motd: handle empty temperature values in printf
Fixes "printf: : invalid number" error when ambient temperature or board
temperature values are empty on systems without temperature sensors.

Adds error suppression and fallback to "0" for temperature formatting
to prevent script errors on systems without these sensors.
2026-01-27 23:41:53 +01:00
Igor Pecovnik
b21d883fb1 MOTD: deterministic spacing, tidy and compact output 2025-11-15 10:18:47 +01:00
Igor Pecovnik
db842095bc Bugfix: quotes were downloading to wrong location 2025-11-15 10:18:47 +01: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
Rolf Leggewie
501f26e561 motd: fix another alignment issue 2025-08-22 20:12:25 +08:00
Rolf Leggewie
1faf63924b motd: fix alignments on login screen. Closes: #7984 2025-06-22 23:26:30 +02: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
dea159a596 Introduce HIDE_LOCAL_IPV6 which removes all local ipv6 addressed from display 2025-03-23 20:54:12 +01:00
Igor Pecovnik
1ee5216a69 Remove duplication of IP addresses and fix display style 2025-03-23 20:54:12 +01:00
userful64
1aca28571b Fix IPv4 and IPv6 output in Armbian welcome MOTD 2025-03-23 20:54:12 +01:00
Igor Pecovnik
a3dd3f97f8 Drop fastfetch alias - it only make troubles 2025-03-17 18:36:11 +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
Igor Pecovnik
d96e0486b8 Show running Docker containers in the MOTD 2025-02-08 23:10:00 +01:00
Igor Pecovnik
287853f460 UX / cosmetics: MOTD ip display needs some limiting
- switch MOTD download to new central location https://github.armbian.com/
- move cronjob for MOTD download from weekly to daily
- change mord defaults, remove clear from defaults
2025-02-08 23:10:00 +01:00
Uladzimir Bely
12d6d070ba Limit curl execution time to 2s to find WAN IP
Option "--connect-timeout" used to determine external IP covers only
connection phase. Curl may "hans" in a different phase and this makes
login to the system impossible if MOTD "header" module enabled.

Using "--max-time" is more reliable and prevents hanging for hours.

Fixes issue https://github.com/armbian/build/issues/7753

Signed-off-by: Uladzimir Bely <wiselord1983@gmail.com>
2025-01-27 14:51:33 +01:00
JohnTheCoolingFan
cbfa3f8376 Add neofetch to fastfetch alias 2024-12-18 22:58:43 +03: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
0397a2492d MOTD: declutter list of commands in motd. Everything starts with armbian-config 2024-11-07 09:18:07 +01:00
Igor Pecovnik
c0a2278f8c MOTD: display hostapd parameters if AP is in operation 2024-10-09 19:51:58 +02:00
SuperKali
be47af9a16 Formatting from spaces to tabs 2024-10-05 12:27:14 +02:00
SuperKali
8d2f719a25 Revert default hide interfaces 2024-10-05 12:27:14 +02:00
SuperKali
47029b7830 Improvement: Update MOTD to include IPv6 addresses (local) and exclude specified interfaces by default
- Added functionality to display local IPv6 addresses in the MOTD.
- Default behavior now excludes interfaces matching 'br-*' and 'veth'.
2024-10-05 12:27:14 +02:00
Igor Pecovnik
db76bcef4f Additional cosmetic fixes to MOTD
- move reading ip address to header
- add distro upgrade info
2024-09-29 19:04:19 +02:00
SuperKali
5bd697b452
Add timeout on check wan address on motd (#7297)
* add timeout on get_wan_address
2024-09-25 13:02:37 +02:00
Igor Pecovnik
21a1628e02 Bugfix: xradio wireless stopped working if those files were removed. 2024-09-24 09:58:11 +02:00
Igor Pecovnik
17e1af68cf UX: cosmetic improvements on motd and armbian-install 2024-09-18 16:31:46 +02:00
David Andreoletti
f145fc2af2 armbian-firstrun: Optionally skip OpenSSH host key regeneration 2024-09-15 11:42:29 +02:00
Igor Pecovnik
baf99a7c83 Userspace: add information about read only rootfs feature 2024-09-15 11:42:19 +02:00
Igor Pecovnik
f6e950ffc2 MOTD: fix error when traffic info is enabled 2024-09-15 11:41:30 +02:00
Igor Pecovnik
170d302e64 MOTD: display rolling release instead of 0.trunk.$number ... this info doesn't need to be here 2024-09-08 17:43:14 +02:00
Igor Pecovnik
399566c795 Add screen clearing routine and improve commands display 2024-09-08 17:43:14 +02:00
Igor Pecovnik
f6fc070be9 Improve motd command listing to show existing or hides the element if nothing exists 2024-09-08 17:43:14 +02:00
Igor Pecovnik
8046b23e73 Hide hassio interface from showing in the armbian motd 2024-09-08 17:43:14 +02:00
Igor Pecovnik
d81d52ba97 Cosmetic adjustement of profile.d scripts to align with motd 2024-09-03 22:02:47 +02:00
Igor Pecovnik
0afe5ec2dc Refactor welcome screen to improve user experience 2024-09-03 22:02:47 +02:00
amazingfate
0579edc21e add chromium v4l2 decoder udev rule for rk3328 hantro decoder 2024-07-28 14:35:34 +08:00
amazingfate
cff6675517 Add chromium v4l2 decoder udev rule for rkvdec2 2024-06-22 15:06:10 +08: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
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
amazingfate
4c3530fac6 Add chromium v4l2 encoder/decoder udev rules 2024-05-22 15:44:28 +02:00
Ricardo Pardini
5b978dc96d lib: drop old boot_logo code; keep png/gif as they're used for plymouth
- origins of what's being dropped: https://github.com/armbian/build/pull/2065
2024-03-06 08:28:31 +01:00
Gunjan Gupta
285b034227 Fix failure on when purging armbian-bsp-cli package 2024-02-12 08:59:25 +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