- 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)
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
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.
* Don't display RX today: Error: No interface matching when wrong NIC is detected
* Improve checking
* Address shellcheck problem
* Switch conditions order
* Enable additional motd tips showing some internal ads
33% probability of showing, just like for the armbian-config
* Update quotes and add expiration date support
* Change variable names
* Add support to download quotes from our server
* Fix curl parameters
* Keep only weekly update
Without this, when mkimage fails (for example because the boot partition
is too small), install.log shows an error like:
mkimage: Write only 16310208/17794920 bytes, probably no space left on the device
But this does not terminate the build, so the compile script shows no
error and an image is generated, but it is unbootable.
This runs the script with -e, so when mkimage fails, the script fails,
which makes update-initramfs fail, which makes the build fail.
* Add support for apt-mark hold warning
- we need to know if kernel packages are on hold
- when upgrade is finished, fix numbers and update list
* Add postupdate hook
* Bugfix
* Bugfix
* Small refactoring
* Improve UX
* Improve detection and change wording
* 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
* 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>
* 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>