* Add preliminary support for UEFI install to nand-sata-install
Signed-off-by: Igor <igor@armbian.com>
* Add symbolic link
* Hardening and cleaning
* Removing obsolete NAND support
- create swal size of memory
- enable hibernation (S4) to have additional power saving mode
- enable GRUB search for another OS
* Move nand cleaning into separate commit
* Add support for UEFI install to eMMC
* Add support for install to empty UEFI target
Tested install to eMMC powered UP Square board
* Add UEFI improved script as standalone armbian-config
Once we are happy with functionality, remove the old and add a link
* Switch to a single 32 MB offset scheme.
* Improve readme
Signed-off-by: Igor <igor@armbian.com>
* Add wallpaper to grup, set fixed screen size, enable hidpi mode on lightdm
* Enable graphics terminal on UEFI x86, ARM64 can't test
* Missing folder
* Enable `Plymouth`
* Add proper HiDpi support and enable intel graphics auto probing
Tested on Intel and Nvidia, both works OOB. Plymouth works as expected, no text logs on screen, if OEM vendor logo is present, it picks it up auto, otherwise shows armbian (chip) logo
Co-authored-by: hzy <hzyitc@outlook.com>
* Install xfce4-power-manager by default on xfce desktop
- remove x11 config which is obsolete and prevent dkms functinality
- remove per board power manager install
* Update xfce4 configs
* Add plymouth-theme-armbian package
* Adjust all bootscripts to adapt plymouth
* Auto show logo accroding to BOOT_LOGO
* Enable plymouth detail mode when bootlogo=false
* Add a new board config var - HAS_VIDEO_OUTPUT
This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP
* Rename package to be aligned with others
* Disable kernel bootloader, but keep the code for it
* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
* bsp: quote pattern passed to grep
This fixes a regression from #4013
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
* bsp: refactor DISTRIBUTION_CODENAME logic
There's no need to repeat the check for /etc/armbian-distribution-status
over and over again, let's just use an if-statement instead.
Similarly, let's not repeat the logic to look up DISTRIBUTION_STATUS in
/etc/armbian-distribution-status; we can just do it at the end instead.
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
* bsp: only fallback to /etc/os-release if /etc/lsb-release failed
This fixes a regression from #3619
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
* bsp: only fallback to "lsb_release -c" if all else failed
Debian Bookwork and Sid both neither have the debian-edu-config package
by default (which provodes /etc/lsb-release in Debian), nor does their
version of base-files (12.2) contain the VERSION_CODENAME field.
So we need another fallback. We *do* have lsb_release, which can provide
this information as well. So let's do that, but add a check as well in
case neither the lsb-release nor the lsb-release-minimal packages is
installed on a user's system.
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
* Show more informations in first-login
* Keep 1st login as minimal as possible.
* Add line space
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* enable 5.19.y edge kernel for the radxa zero 2 builds
* Update packages
* Update packages
* Update packages
* Set wayland as default on KDE plasma
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* Fix to flush volatile journald to prevent full /var/log at startup
* re-introduce directory / in non-rsync copy, and exclude journal* in this copy
Note: this may need some testing if someone doesn't use rsync
* Fix for non-rsync copy to Disk, since journal cannot be copied onto itself
* Backed up journal files are removed with vacuum, so no need to delete them separately
* Make room at boot by removing old logs, in addition to the removal later
every 15 minutes
* remove old archived journal files modified more than 1 day ago
* make sure volatile logging is used, since journald sometimes turns persistent at boot
remove unused commented lines in ramlog
* Fix check for configured journald volatile logging
* revert #3799, the rsync --delete
Co-authored-by: dennis laptop <dennis@smartstatetechnolgy.nl>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
* mdadm-fault-led: port to dash
Also ran through shellcheck. dash is faster and uses less RAM than bash.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* armbianmonitor: get rid of pipe to /dev/null
shellcheck warns that it can't parse this. Also seems to be a mistake.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* armbianmonitor: replace egrep with grep -E
The former is deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* armbianmonitor: add -r to read
Avoids mangling backslashes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* armbianmonitor: remove unnecessary ${}
They're in $(()) making it redundant
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* armbianmonitor: simplify various printf calls
For some reason, printf and echo -e get mixed together even though they
do the same thing. Just use printf.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Typo in packaga name
* Several small fixes for KDE plasma
* Change "no support" to "community support" at 1st welcome
Its more or less the same thing just sounds better
The version argument is not used by the script anymore, hence the check is obsolete.
Additionally make use of the currently unused defined MOD_DIR variable.
Signed-off-by: MichaIng <micha@dietpi.com>
* We need to read DISTRIBUTION_STATUS in order to have information about
* Cover variants if we generate images for wip / csc targets
- by mistake
- for promotion or other reasons
- if image is made by 3rd party to cover this case
* Update armbian-firstlogin
* modifications of firstrun scripts
* Further making use of systemd statements to order firstboot scripts
* allow systemd ordering of ssh to avoid restarting in firstrun script
* suggested changes, add wants=first-boot-complete
* Remove SSH keys in debootstrap process
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
* add the image tree source for building FIT images for ebin
* add FIT image generation to BSP files
* Change to using FIT image to boot
* make fit-image script executable
* add the ability to choose board dtb in armbianEnv.txt
By default, cron sends an email to the system admin if it finds anything in the stderr of the process.
journalctl sends "diag output" to stderr (see https://github.com/systemd/systemd/issues/380).
The easiest way to prevent sporadic emails is to call journalctl with --quiet.