Commit Graph

404 Commits

Author SHA1 Message Date
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
Ricardo Pardini
5365d62e3a armbian-firstlogin: better dm detection + add simple no-op sddm support + gdm3 fixes 2023-10-14 00:01:07 +02:00
Ricardo Pardini
d4b5aa5987 armbian-firstlogin: shellfmt, no changes 2023-10-14 00:01:07 +02:00
marcone
dd5fb3e3f8
armbian-firstlogin: allow empty user password (#5738)
Call the 'passwd' command with the right arguments depending on whether
the user entered a password or not.
2023-09-23 19:14:10 -07:00
Igor
95dc76ae87 Enhance default boot partition size for installer
This will prevent running into "No space left on device" pretty soon.
2023-09-19 20:07:44 +02:00
Jim Gregory
9ed7437fe2 fix: replace ifconfig in armbian-firstrun-config
ifconfig is no longer included in a default install of Armbian Bookworm, causing armbian-firstrun-config to silently fail when attempting to retrieve a list of network adapters.  Using nmcli instead.
2023-09-12 10:48:37 +02:00
Phani Pavan Kambhampati
823738dedd Update armbian-add-overlay
added another case to handle stray spaces and to not add a space if no overlays are already present.
2023-08-18 17:11:51 +02:00
Joseph Turner
da0d169f9a Update armbianmonitor 2023-08-04 10:33:04 +02:00
Gunjan Gupta
da6c238f79
armbianmonitor: update cpuminer and remove arm only limit (#5503) 2023-07-23 20:23:36 +02:00
Richard Neese
b5e9774eda
Adding support for new desktops (#5367) 2023-06-22 20:21:09 +02:00
Markus Hoffrogge
5072966b44
armbian-install: use consistent logfile name and align the according /usr/lib folder name (#5340)
* armbian-install: The log file should be named identical to the originally called install script

- the log file should be named as:
  - /var/log/armbian-install.log if script armbian-install was originally called
  - /var/log/nand-sata-install.log
- same for directory /usr/lib/nand-sata-install:
  - rename this directory to /usr/lib/armbian-install
  - create a symbolic link nand-sata-install to this folder for backward compatibility
    in a subsequent commit
- abort script armbian-install with an error message:
  - if file ${EX_LIST} does not exist
  - if dir ${BOOTLOADER} does not exist
- remove the "beta" from the version title of armbian-install

* Add symlink /usr/lib/nand-sata-install to /usr/lib/armbian-install
2023-06-19 22:04:01 +02:00
Igor
aba5df4689 Remove postinst manipulation as its not needed. SKEL is copied at user creation, psd at first run
Also fix executing bit at armbian-firstlogin script
2023-05-23 16:34:56 +02:00
Igor Velkov
9b68c4e42a Add support for nilfs2 fs based image
Signed-off-by: Igor Velkov <iav@iav.lv>
2023-05-16 08:51:05 +02:00
Pander
11c967322d installer prompt fix 2023-05-09 10:05:23 +02:00
Pander
26fb31cfbf require Enter for all promts at first login 2023-04-22 20:07:50 +02:00
Igor
9467736a64 Remove doubled swap creation 2023-04-22 10:05:10 +02:00
Matthijs Kooijman
da626d1502 armbian-audio-config: Fix muting and controls with spaces
In commit 0aa61abe7 (armbian-audio-config: Massively speed up script)
this script was changed to not call amixer for each control, but just
once for each card, feeding commands for many controls in one invocation
with the `--stdin` option.

In that commit, two errors were introduced:
 - Controls that were intended to be muted were turned on instead. This
   affects the "CD", "Mic" and "Internal Speaker" controls.

   This occured because there is a helper shell function whose arguments
   were renumbered, but the last argument kept the old numbering,
   keeping it always at the default value of "on", even when it should
   have been "mute".

 - Controls with a space in their name would be ignored. In the original
   script, arguments (including these names) were quoted and passed
   separately to the `amixer` command. Now, they are quoted when passed
   to `echo`, but that produces an unstructured line with the quoting
   removed that can no longer be correctly parsed by amixer for names
   with spaces.

This commit fixes both problems be correctly numbering the arguments and
adding an additional layer of quoting.
2023-04-17 13:43:30 +02:00
hzy
2a9279c27d armbian-firstlogin: Make sure that the first charactor of username isn't number 2023-03-29 23:22:04 +02:00
Igor
5de120edfe Allow numbers in username 2023-03-27 23:24:35 +02:00
Markus Hoffrogge
142dec4618 Fix $sduuid being overlapped by a probable emmc device existing
- if $emmccheck is not empty, then exclude this
  from the lookups for $sdblkid
- simplified $sduuid assignment within a single line

closes AR-1611
2023-03-20 13:31:06 +01:00
Markus Hoffrogge
0bd6fea636 Fix $sduuid to be of format UUID=uuid
- this issue was introduced by commit 7e9ebe1
- the variable sduuid is supposed to start with "UUID="
- fixed now by prepending UUID= to $sduuid, if the "raw" $sduuid is not empty

closes AR-1611
2023-03-20 13:31:06 +01:00
Igor Pečovnik
e71d8dba10
Clenup minimal and server lists (#4893) 2023-03-02 22:44:47 +01:00
M. Efe Çetin
1b423adf2f
Add rockchip-rk3588 board family to armbian-hardware-optimization (#4838)
* Add rockchip-rk3588 board family to armbian-hardware-optimization

* Update armbian-hardware-optimization
2023-02-17 22:37:48 +01:00
The-going
e570f737a0 fix: armbianmonitor: used cpufreq/scaling_cur_freq if 1 Cluster available 2023-02-16 23:24:37 +03:00
The-going
6922edc4c8
Fix: Armbianmonitor: Print the CPU frequency correctly without privileges (#4823)
* Type: Remove trailing spaces

* Fix: Print the CPU frequency correctly without privileges.
2023-02-12 21:52:12 +01:00
Igor Pečovnik
7f5c20d75c
Bugfix: GRUB installation failed to install on UEFI systems (#4758)
- removing "removable" paramter
- UUID from EFI partition was not found
2023-01-28 00:14:51 +01:00
Oleg
eb7b1aa1d1
fix kernel edge for Jetson Nano (#4719) 2023-01-20 18:43:42 +01:00