Commit Graph

226 Commits

Author SHA1 Message Date
The-going
bf462f3517 clean: remove unused code, replaced df with findmnt 2023-01-20 20:26:37 +03:00
Igor Pečovnik
1955f4fcfe
Move htoprc to proper location as this method doesn't work properly (#4689)
* Move htoprc to proper location as this method doesn't work properly

* Remove the file
2023-01-12 13:31:45 +03:00
Igor Pečovnik
24d2510c28
Proper device lookup (#4612)
* Proper device lookup

* Remove unnecessary part

* Add closing double quote
2022-12-28 16:39:47 +03:00
Igor Pečovnik
c982e54f7b
Suppress RX today error in MOTD if wrong NIC is detected (#4610)
* Don't display RX today: Error: No interface matching when wrong NIC is detected

* Improve checking

* Address shellcheck problem

* Switch conditions order
2022-12-25 08:45:25 +01:00
Igor Pečovnik
7304af6be8
Small tweaks (#4492)
* Update HTOP defaults

* Remove ZFS PPA sources. We will move them to main repo. Its just a repo anyway.
2022-11-27 00:10:44 +01:00
Michael Klein
925c344615
30-armbian-sysinfo: make IP address unique (#4483) (#4484) 2022-11-25 18:02:25 +01:00
Igor Pečovnik
d01e3519a8
We need to follow redirect with Curl (#4456)
* We need to follow redirect with Curl

* Update armbian-apt-updates
2022-11-17 17:43:58 +01:00
Igor Pečovnik
5888bc9704
Enable additional motd tips showing some internal ads (#4396)
* 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
2022-11-14 14:59:58 +01:00
Matthijs Kooijman
10af624a73
Make sure the build fails if generating uInitrd fails (#4398)
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.
2022-11-08 18:36:38 +01:00
Igor Pečovnik
e077835171
Fixing wrong display condition (#4395) 2022-11-08 12:38:00 +01:00
Igor Pečovnik
58ed41d385
Fix two small cosmetic bug (#4357)
- debian showed not supported due to absence of lsb-release
- motd didn't address displaying update aval correct
2022-10-27 18:51:58 +02:00
Igor Pečovnik
0b9bd251c7
Add support for apt-mark hold warning (#4294)
* 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
2022-10-18 09:24:36 +02:00
Igor Pečovnik
4dcd053eed
Install xfce4-power-manager by default on xfce desktop (#4205)
* 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
2022-09-20 17:20:43 +02:00
Erik Faye-Lund
10aeb2f305
Fix armbian header (#4144)
* 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>
2022-09-03 23:21:00 +02:00
Igor Pečovnik
27154e472f
Extend network interface auto detection to suppress errors (#4096)
* Extend network interface auto detection to suppress errors

* Remove pointless grep

* Use grep internal limiter instead of head
2022-08-21 20:36:20 +02:00
Dennis
e5ab9389e9
Fix for journald filling /var/log using flush from volatile instead of copy, and removing cache files when nearly full (#3967)
* 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>
2022-08-10 09:02:03 +02:00
Rosen Penev
fdf73a025b
some shellcheck fixes (#4013)
* bsp: remove useless cats treewide

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* bsp: replace egrep with grep -E

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-25 11:39:11 +02:00
Aristo Chen
63795262e1
Bugfix: fix issue that 30-armbian-sysinfo doesn't show network usage (#4014) 2022-07-25 11:38:56 +02:00
alive4ever
c83b11cf14
packages/bsp/common: use iw instead of iwconfig (#3995)
Use iw to handle wifi power management instead of legacy iwconfig.

Also fix udev rule to use kernel name (%k) instead of hardcoded name.
2022-07-14 10:12:13 +02:00
MichaIng
1b6e851212
Remove version argument check from initramfs cleanup script (#3859)
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>
2022-06-11 18:04:24 +02:00
Igor Pečovnik
351303bc7a
Disabling compressin seems to speed up apt search (#3808) 2022-05-27 11:20:18 +02:00
Alexey Vazhnov
fa8c475ec1
Automatic shutdown on low battery power (#3084)
* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.42_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.42_arm64.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi_21.08.0-trunk.44_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.44_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.45_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-jetson-nano_21.08.0-trunk.46_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.47_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.48_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.49_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.50_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.50_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.51_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.52_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rockchip64_21.08.0-trunk.53_arm64.deb
linux-image-legacy-mvebu64_21.08.0-trunk.53_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rockchip_21.08.0-trunk.54_armhf.deb

* Bumping to new version

Adding following kernels:

* Bumping to new version

Adding following kernels:

linux-image-edge-mvebu_21.08.0-trunk.56_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.56_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.57_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.58_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.59_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.60_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rk322x_21.08.0-trunk.61_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.61_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.62_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.63_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.64_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.65_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-odroidxu4_21.08.0-trunk.66_armhf.deb
linux-image-legacy-sunxi_21.08.0-trunk.66_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-sunxi_21.08.0-trunk.67_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.68_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-current-meson64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-current-virtual_21.08.0-trunk.68_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.68_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.68_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.68_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.68_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.68_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.68_armhf.deb
linux-image-legacy-mvebu64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-odroidxu4_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rk3399_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip64_21.08.0-trunk.68_arm64.deb
linux-image-legacy-rockchip_21.08.0-trunk.68_armhf.deb
linux-image-legacy-rockpis_21.08.0-trunk.68_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.69_armhf.deb
linux-image-current-meson64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.69_armhf.deb
linux-image-edge-imx6_21.08.0-trunk.69_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.69_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.69_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.69_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.69_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.69_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.69_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-current-virtual_21.08.0-trunk.70_arm64.deb
linux-image-edge-jetson-nano_21.08.0-trunk.70_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.70_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.71_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.71_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.71_armhf.deb
linux-image-legacy-meson64_21.08.0-trunk.71_arm64.deb

* fix

* Githug Actions bugfix and optimisations

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.72_arm64.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.74_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-current-meson64_21.08.0-trunk.74_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.74_arm64.deb
linux-image-current-virtual_21.08.0-trunk.74_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.74_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.74_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.74_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.74_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.74_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.74_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.74_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.74_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.75_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.75_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.76_arm64.deb
linux-image-current-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-mvebu_21.08.0-trunk.76_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.76_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.76_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.77_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-current-meson64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.77_armhf.deb
linux-image-current-virtual_21.08.0-trunk.77_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.77_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.77_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.77_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.77_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.77_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.77_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.77_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.77_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.77_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.77_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi64_21.08.0-trunk.78_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.78_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_21.08.0-trunk.79_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.79_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.80_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.80_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.80_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.80_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.81_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.81_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.82_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-current-meson64_21.08.0-trunk.82_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-current-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-current-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-current-virtual_21.08.0-trunk.82_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.82_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.82_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.82_armhf.deb
linux-image-edge-mvebu64_21.08.0-trunk.82_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.82_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip_21.08.0-trunk.82_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.82_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.82_arm64.deb
linux-image-legacy-mt7623_21.08.0-trunk.82_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.83_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi_21.08.0-trunk.84_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.84_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.85_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.85_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.86_armhf.deb
linux-image-current-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-current-meson64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-current-virtual_21.08.0-trunk.86_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.86_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.86_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.86_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.86_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.86_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.86_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.86_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.86_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.86_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.86_armhf.deb
linux-image-legacy-rockchip64_21.08.0-trunk.86_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-station_21.08.0-trunk.87_arm64.deb
linux-image-legacy-jetson-nano_21.08.0-trunk.87_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.88_armhf.deb
linux-image-current-meson64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-current-station_21.08.0-trunk.88_arm64.deb
linux-image-current-virtual_21.08.0-trunk.88_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.88_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.88_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.88_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.88_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.88_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.88_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.88_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.88_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.88_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.89_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.89_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.89_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.89_armhf.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.91_armhf.deb
linux-image-current-meson64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-current-station_21.08.0-trunk.91_arm64.deb
linux-image-current-virtual_21.08.0-trunk.91_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.91_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.91_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.91_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.91_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.91_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.91_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.91_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.91_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.91_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.92_arm64.deb
linux-image-edge-rk322x_21.08.0-trunk.92_armhf.deb
linux-image-legacy-rk322x_21.08.0-trunk.92_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-rk322x_21.08.0-trunk.93_armhf.deb

* Update VERSION

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.95_armhf.deb
linux-image-current-meson64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-current-station_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-current-virtual_21.08.0-trunk.95_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.95_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.95_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.95_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.95_armhf.deb
linux-image-edge-rk322x_21.08.0-trunk.95_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.95_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.95_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.95_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.95_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.95_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-sunxi64_21.08.0-trunk.96_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.96_armhf.deb
linux-image-edge-meson64_21.08.0-trunk.96_arm64.deb
linux-image-edge-odroidxu4_21.08.0-trunk.96_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.96_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.96_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.97_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.97_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.98_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.98_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.98_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.99_armhf.deb
linux-image-current-meson64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-current-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.99_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-current-station_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.99_armhf.deb
linux-image-current-virtual_21.08.0-trunk.99_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.99_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.99_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.99_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.99_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.99_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.99_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.99_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.99_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.99_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-station_21.08.0-trunk.100_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-rockchip64_21.08.0-trunk.101_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.102_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.103_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.104_armhf.deb
linux-image-current-meson64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.104_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-current-station_21.08.0-trunk.104_arm64.deb
linux-image-current-virtual_21.08.0-trunk.104_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.104_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.104_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.104_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.104_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.104_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.104_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.104_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.104_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-meson64_21.08.0-trunk.105_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.106_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.106_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.106_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.106_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-legacy-meson64_21.08.0-trunk.107_arm64.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.108_armhf.deb
linux-image-current-meson64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.108_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-current-station_21.08.0-trunk.108_arm64.deb
linux-image-current-virtual_21.08.0-trunk.108_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.108_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.108_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.108_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.108_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.108_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.108_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.108_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.108_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-edge-sunxi64_21.08.0-trunk.109_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.109_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-imx6_21.08.0-trunk.110_armhf.deb
linux-image-current-meson64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-current-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-current-rk322x_21.08.0-trunk.110_armhf.deb
linux-image-current-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-current-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-current-station_21.08.0-trunk.110_arm64.deb
linux-image-current-virtual_21.08.0-trunk.110_arm64.deb
linux-image-edge-imx6_21.08.0-trunk.110_armhf.deb
linux-image-edge-jetson-nano_21.08.0-trunk.110_arm64.deb
linux-image-edge-meson64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu64_21.08.0-trunk.110_arm64.deb
linux-image-edge-mvebu_21.08.0-trunk.110_armhf.deb
linux-image-edge-odroidxu4_21.08.0-trunk.110_armhf.deb
linux-image-edge-rockchip64_21.08.0-trunk.110_arm64.deb
linux-image-edge-rockchip_21.08.0-trunk.110_armhf.deb
linux-image-legacy-mt7623_21.08.0-trunk.110_armhf.deb

* Bumping to new version

Adding following kernels:

linux-image-current-odroidxu4_21.08.0-trunk.111_armhf.deb
linux-image-current-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-current-sunxi_21.08.0-trunk.111_armhf.deb
linux-image-edge-sunxi64_21.08.0-trunk.111_arm64.deb
linux-image-edge-sunxi_21.08.0-trunk.111_armhf.deb

* /usr/lib/armbian/armbian-common: typo, quotes (#3082)

* Add cron job (commented out by default) and a script to shutdown on bettery low level

packages/bsp/common/etc/cron.d/armbian-check-battery
packages/bsp/common/usr/lib/armbian/armbian-check-battery-shutdown

* /etc/update-motd.d/30-armbian-sysinfo: return if sourced by other script

* /usr/lib/armbian/armbian-check-battery-shutdown: a comment about battery_percent

* Update VERSION

* Move getboardtemp(), batteryinfo(), ambienttemp() into /usr/lib/armbian/armbian-allwinner-battery

Co-authored-by: armbianworker <info@armbian.com>
Co-authored-by: Igor Pecovnik <igor@armbian.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: lanefu <lanefu@users.noreply.github.com>
2022-04-07 16:04:40 +02:00
bl4cki
0a2fdc4f0b
Fix MOTD in debian-based armbian (#3619)
* Fix MOTD in debian-based armbian

Read DISTRIBUTION_CODENAME for MOTD from os-release instead of lsb-release

* Revert "Merge branch 'armbian:master' into master"

This reverts commit fa534bd685, reversing
changes made to 2791b57b90.

* Fix MOTD in debian-based armbian

Read DISTRIBUTION_CODENAME for MOTD from os-release where the file is existent.

* Revert "Revert "Merge branch 'armbian:master' into master""

This reverts commit 5e509cf787.
2022-04-07 01:05:43 +02:00
lanefu
3b05065d71
fix armbian-ramlog default functionality breaking comments (#3603) 2022-03-29 14:05:09 +02:00
The-going
8693b355eb
Bugfix for packages/armbian/builddeb, packages/bsp/common/etc/kernel/preinst.d/initramfs-cleanup (#3511)
* Fix the standard location of dtb files

This fix allows standard system scripts from flash-kernel,
u-boot-menu packages to search in this location

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Bugfix: No need to unmount a separate partition for the /boot

These issues should be solved by system scripts.
In the future, this check should be removed.

* Remove unused generated file 'initrd.img-*' 'uInitrd-*'

These files were generated by initramfs-tools script
called postinst.d scripts.
And should be removed in the postrm.d or postinst.d scripts
and should be run after the initramfs-tools script
and under the same conditions.
2022-02-26 15:04:24 +01:00
Oleg
43daaea590
fix disable u-boot and initramfs hooks (#3470)
Close https://github.com/armbian/build/issues/3457
2022-02-10 14:59:05 +01:00
Igor Pečovnik
310495ddf1
Refactor armbian-bsp-cli package creation (#3378)
* Refactor armbian-bsp-cli package creation

- added general distro status for all in separate file inside BSP
- remove branch and distro specifics

* Looking for prebuild pack

* Small fixes
2022-01-06 11:50:24 +01:00
Leo
3c5e8820d1
Source /etc/armbian-release before the motd conf file (#3326)
That way the user can set $BOARD_NAME in /etc/default/armbian-motd. This is useful because e.g. the Odroid HC2 is internally an Odroid XU4, and in /etc/armbian-release it shows up as Odroid XU4.
2021-12-07 20:13:34 +01:00
Ricardo Pardini
90e0fe0ba2
extensions framework + UEFI aarch64/x86 + rpi4b + core changes/fixes (#3300)
* extensions framework (née "fragments")

- this should actually change nothing at this point, just add capabilities
- the framework is implemented in lib/extensions.sh
- the "if function x exists then call x" replaced with call_extension_method()
  - +inline documentation
  - +compatibility names

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; meta-extensions: auto-docs and sample extension gen

- 2 extensions dealing with extensibility itself
  - detect-unused-extensions: shows which extensions are enabled, but never called.
  - gen-sample-extension-docs: generates a sample empty extension & Markdown documentation for extensions

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* new extension methods and features via config variables in core Armbian

- `SKIP_EXTERNAL_TOOLCHAINS=yes` - does not download or use any linaro toolchains, only build host-installed ones
- `SKIP_BOOTSPLASH=yes` - does not patch kernel for splash file
- `EXTRA_BSP_NAME=xyz` - allows for BSP variants, useful for when extensions modify the BSP
- `EXTRA_ROOTFS_MIB_SIZE=x` - add x mib's to rootfs size, for use with very small images
- `KERNEL_EXTRA_TARGETS` - what extra targets to make kernel for, default to "modules dtbs"
- `BOOTCONFIG=none` - does not build nor install u-boot; also doesn't handle bootscripts et al
- `unset KERNELSOURCE` - does not build nor install kernel, nor build initrd, nor build nor install firmware
- `ARMHF_ARCH=skip` - does not add armhf to apt/dpkg, thus pure arm64
- `SKIP_ARMBIAN_REPO=yes` - results in armbian.list.disabled in the final image
- define `APT_EXTRA_DIST_PARAMS` with apt-cacher-ng options and use it for `PACKAGE_LIST_INSTALL/REMOVE` et al
- initial support for targeting x86/amd64 UEFI and BIOS
    - some do's/don'ts for x86/amd64, like a different `UBUNTU_MIRROR` default
    - GPT/EFI(ESP) partitions (fat, `UEFISIZE=256` to enable, mount `UEFI_MOUNT_POINT=/boot/efi`, first on disk but ends
      up at `$uefipart`=15)
    - GPT/BIOS partitions (fat, `BIOSSIZE=1` to enable, second on disk but ends up at partition 14)
    - `UEFI_FS_LABEL="armbiefi"` - to set the FAT label for the EFI partition, visible in Win/Mac
    - hard-requires gdisk package host-side
- add add_host_dependencies() extension method; fill `EXTRA_BUILD_DEPS="pkg pkg2"` to install to host before toolchains
  download
- add pre_prepare_partitions() extension method, for custom partition size calculations
- add create_partition_table() extension method, used to do full-custom partitioning if `USE_HOOK_FOR_PARTITION=yes`
- add post_create_partitions() extension method, mostly for easy debugging
- add post_write_sdcard() extension method, where you can also set `SKIP_VERIFY=yes` to skip sdcard verification
- add post_install_kernel_debs() extension method.
- multiple fixes to bsp to avoid spurious errors when files are not where it expects
- v4: detect `update-initramfs` failure and abort build with useful message if it does
- v4: show useful stacktrace in `exit_with_error`
  - if `ERROR_DEBUG_SHELL=yes`, drop into a shell before unmounting/deleting everything, so we can inspect what went wrong
- v4: display a message before `apt-get remove PACKAGE_LIST_BOARD_REMOVE` packages, so any errors while removing are easy to understand
- v4: preserve kernel .config's dates when copying

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions framework; refactor tool fetching/building into extensions

- a few examples of core refactoring using extensions
- sunxi-tools extension, enabled by 2 different sunxi family includes ("reuse" example)
- marvel-tools extension, enabled by 2 different mvebu family includes
- rkbin-tools extension, enabled by rockship64_common family include
- amlogic-fip/c2-blobs stuff refactored directly into meson64_common.inc ("single-use" example)
- removed the 'testings' fetch_from_repo completely since not used anywhere.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip's for UEFI arm64 and UEFI/BIOS x86 via new GRUB extension

- v3: added `growroot`-awareness to `armbian-resize-filesystem`
    - the partition-growing part of `armbian-resize-filesystem` does not deal correctly with the UEFI layout
    - `growroot` is installed on UEFI images by default, that handles growing partition during initramfs
    - now `armbian-resize-filesystem` handles `resize2fs` only, and works.
- v4: reworked UEFI board/family/include structure:
    - use Distro's `linux-generic` kernel only for `current`
    - `edge` now builds it's own pure-mainline `5.15.y` kernel, for both x86 and arm64
        - `.config` taken from Ubuntu, probably needs tuning for EXTRAWIFI=yes et al
- v4: introduce `SKIP_KERNEL_SYMLINK=yes`, tested in `builddeb`
    - to avoid symlinking kernel; u-boot likes it, but grub and flash-kernel hates it
- v5: many fixes
- v7: more small fixes.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* .wip for the RaspberryPi 4B via new flash-kernel extension

- this does not build it's own kernel "yet", but uses default linux-raspi kernel from Ubuntu
- flash-kernel is not really a bootloader
    - it just prepares kernel et al a FAT partition for booting by the RPi4b bootloader
    - flash-kernel is standard Debian package, but has only been tested on Ubuntu releases
- it is really only known-working since Hirsute release.
  - Debian's rpi kernel is armhf only, so out of scope here, at least until we add source-built kernels.
- v3: fixed focal rootfs build. untested.
- v3: better variable names, preparing for source-built kernel.
- v5: new edge build with pure mainline kernel.
- v6: many fixes and some hacks for packaging and layout, also firmware (using Ubuntu's)

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Added first patch to edge x86 related to wifi drivers

* extensions: leave hostapd alone; remove hackish ext; block reentrancy

- package-list-utils does not belong in this PR
- grub or bcm2711 is not the place to remove hostapd
- block recursive enable_extension() calls, for now.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* gen-sample-extension-docs: fix: avoid counter in generated sample

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: dependencies: enable_extension() in extensions with a stack

- and better stacktraces, I hope

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Remove code from package list since we don't have it in repository
Adjust kernel config to disable driver that needs further polishing.

* Allow amd64 to build the same desktops as aarch64. We only have this limit for armhf, where some desktops don't work

* amd64: allow building amd64 on aarch64 with system toolchain

- conditionally add gcc-x86-64-linux-gnu to hostdeps

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* add libelf-dev directly to hostdeps (and Dockerfile), remove extension

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: remove SKIP_KERNEL_SYMLINK hack, fix the root cause

- which was the missing $image_name for non-arm64 & non-arm, so: x86 for example

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* flash-kernel: really obliterate u-boot stuff from BSP

- for now. soon we'll refactor u-boot so not have to do this

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: add host_dependencies_ready() hook

- this passes FINAL_HOST_DEPS containing all hostdeps for the run after they're installed

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add verification functions for correct selection.

* If UEFI Skip symlink creation

* Do not create dtb package for amd64

* Skip scripts folder cleaning if build process native.

Skip creating  postinst prerm scripts  for headers.

* Skip applying headers-debian-byteshift.patch if build native

* Fix architecture syntax as x86_64

* Revert "amd64: allow building amd64 on aarch64 with system toolchain"

This reverts commit 0c5ee20bb1.

* Compare architectures before starting compilation.



Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* extensions: cleanups after fixes by the-Going

- packaging:
  - there is _no need_ anymore for the symlink hack, CONFIG_EFI or no. But check is great, see below
  - it's not `amd64` that has no DTB's, it's all UEFI, thus: `is_enabled CONFIG_EFI`, thanks!
- Explicitly disallow "reverse cross compile" in amd64.conf.
- whitespace-only-deletions: revert. we shall shellfmt the whole thing one day, but not today.
- fix a few syntax warnings in newly introduced code (floating `$ARCH` vs `"${ARCH}`) - blame shellcheck

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* packaging: fix: turns out a lot of boards have CONFIG_EFI=y, can't use that for dtb/no-dtb decision.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* grub: remove debug

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* firmware: allow installing `armbian-firmware-full`; make it really full

- can now use `BOARD_FIRMWARE_INSTALL="-full"` to install full firmware for the board. enable for UEFI.
- don't rely on KERNELSOURCE for firmware-related decisions. introduce `INSTALL_ARMBIAN_FIRMWARE` which defaults to `yes`
- rpi4b/flash-kernel: disable Armbian firmware; we need linux-firmware-raspi2, which conflicts.

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: log to /${LOG_SUBPATH}/ instead of fixed /debug/

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: introduce cleanup_extension_manager() called by build-all-ng's unset_all()

- to reset/unset everything done by the the initializer, so build can run again

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: remove 'global' logging, for use with build_all_ng

- enable_extensions() will have to live on without logging to file. it's just too early.
- now init EXTENSION_MANAGER_TMP_DIR in initialize_extension_manager()
- now init EXTENSION_MANAGER_LOG_FILE in initialize_extension_manager()

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* extensions: build-all-ng.sh bugfix due to extension's debug to stdout

- extensions (among other things) can produce output to stdout when activated
- fix: check_hash() produced "idential" (sic, now changed to IDENTICAL) to stdout as a trigger
- debugging output got mixed with "idential", rendering hash cache void for families that used extensions
  - eg: sunxi, others
- fix is to send stdout to the bitbucket when sourcing the board & arch config files
- proper fix would be stop using stdout in this case and use return code for check_hash()
  - one day soon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* Add CI build targets

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
Co-authored-by: The-going <48602507+The-going@users.noreply.github.com>
2021-12-06 09:49:49 +01:00
Aristo Chen
fab9ff1dba
Remove unused variable in format string (#3105) 2021-09-02 21:51:54 +02:00
Aristo Chen
9aa60df063
Exclude IP of network interface with :avahi at the end of name (#3099) 2021-08-21 11:04:22 +02:00
Oleg
4c80535fd8
update kernel legacy 4.9.201 and current 5.10 (#2987) for jetson 2021-07-09 20:54:40 -04:00
Igor Pecovnik
8ab6aeb342 Cosmetic - supress error vnstat can't be found at first login 2021-07-03 19:27:39 +02:00
Aristo Chen
5082eb9d4e
Skip checking TX/RX for interface not exists in /var/lib/vnstat/ (#2948) 2021-07-02 07:56:27 +02:00
lanefu
cb18979a64
Merge pull request #2896 from AristoChen/master
Modify the mechanism for showing IP address in 30-armbian-sysinfo
2021-06-13 11:24:41 -04:00
AristoChen
a84da70535
Modify the mechanism for showing IP address in 30-armbian-sysinfo
Exclude "dummy0" and "lo" interface, thus the IP address for all other
interface(include those having customized name) can be properly displayed
2021-06-13 20:58:05 +08:00
Nathaniel Wesley Filardo
2606d17ec7 armbian-ramlog: extra rsync options
Add two bash arrays, XTRA_RSYNC_{FROM,TO}, defined in
/etc/default/armbian-ramlog, and expand these in the two rsync
invocations in /usr/lib/armbian/armbian-ramlog.

The use of bash arrays simplifies the use of multiple arguments and also
allows for in-band commentary between array elements.

When expanding, safely test for these arrays to exist.  This is, sadly,
a little verbose in bash, so, while here, split the rsync invocations to
use line continuations.

Fixes https://github.com/armbian/build/issues/2846
2021-06-12 02:25:23 +01:00
Aristo Chen
78894792a5
Update URLs (#2870)
* Update URLs

* Update URLs

* Update URLs
2021-06-10 11:27:51 +02:00
Igor Pečovnik
adaf5956bb
Less chatty logs for 8189fs (#2857) 2021-06-01 19:49:21 +02:00
Werner
1f2dc3423a
Delete 80-update-htop-and-offload-tx
- users are "confused" about manipulating files in their home directories
- introduced security issues which have been worked around but there might be others too
- more recent  htop may support network stuff oob (https://armbian.atlassian.net/browse/AR-771?focusedCommentId=10546)
2021-05-26 05:49:52 +02:00
Igor Pečovnik
f7c2dc2bc3
More motd related fixed (#2848)
Fixing error when we don't have etherned
2021-05-23 18:25:21 +02:00
ThomasKaiser
0f348185be
Fix typo in f0f10a5 (workaround for 7350topless) 2021-05-23 14:48:51 +02:00
ThomasKaiser
f0f10a5b68
Workaround for 7350topless
Not touching logic or the (IMO ridiculous) behavior of this script. Just meant as a quick&dirty workaround for the specific sed/symlink attack vector. Check https://github.com/stealth/7350topless for details.
2021-05-23 13:51:04 +02:00
Igor Pečovnik
4cc754e0b3
Bugfix - vnstat doesn't like very long input parameterts and it fails on certain wireless devices (Ampak, most common ones) (#2839)
Limiting device to eth* enp* only seems like a viable workaround.
2021-05-18 09:15:55 +02:00
Igor Pecovnik
93ed1e85b8 Displays that EDGE branch is in action 2021-03-28 12:21:02 +02:00
NekoB0x
8b063ca8a6
Update armbian-ram-logging 2021-03-25 11:19:35 +02:00
NekoB0x
540d7abd88
Fix redundant log writing
Fixes calling "armbian-ramlog write" twice on systems with logrotate systemd unit.
2021-03-25 01:02:23 +02:00
NekoB0x
271756dcc4
Some 30-armbian-sysinfo fixes (#2732)
* Update 30-armbian-sysinfo

Fixed alignment of "Local users" and "IP" in third column.
Made it more compact by adding extra new line.
Added "both" traffic direction.
Removed "-h" vnstat argument because it doesn't do anything, changed "last 24h" to "today" (there is only "rx/tx for today" in --oneline output).

* Update armbian-motd.dpkg-dist

Add PRIMARY_DIRECTION description

* Update 30-armbian-sysinfo

fix new line logic
clean-up unused variables
2021-03-24 19:19:38 +01:00
Igor Pečovnik
61b87bee74
W1 temp sensor can have different properties. Adjusting (#2737) 2021-03-24 19:07:53 +01:00
Gauthier Provost
5e69351b3d
Re-enable network checksum TX offload on rockchip64 family (#2623)
* Re-enable network checksum TX offload on rockchip64 family

* Adjust gmac PBL setting for rk3399 legacy to fix network issues with MTU 1500

* Adjust gmac PBL setting for rk3328 in rockchip64-legacy to fix network issues with MTU 1500

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2021-03-23 08:00:10 +01:00