G12/GXL boards with memory of 1GB or lower are unable to boot because the CMA memory pool is set to high. Leaving CMA at the default and providing an overlay for those who need or want the CMA higher, makes more sense than not supporting all possible memory options provided by said SoC(s).
* 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>
* Lint
* Rename: rootfs-cache for finding local cache easily
* Search local caches if we can't download any remote caches
* Use github api to get cache list instand of just try
* Use 0000 as default version to generate rootfs cache
* Use YYYYMMDD as rootfs version
* Rewrite the process
* Check local and remote cache at same time
* Add quote for jq to avoid a strange bug
* Remove creation of .current file
* Add package versions and silense debsums by default
* Typo
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.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>
* meson: bump version
bump edge to thirdparty linux-5.18-rc7
bump current to linux-5.15
change legacy back to LTS linux-5.10
* Upgrade kernel config
* meson: edge and current: Enable NTFS3 driver