armbian-build/packages
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
..
armbian Bugfix for packages/armbian/builddeb, packages/bsp/common/etc/kernel/preinst.d/initramfs-cleanup (#3511) 2022-02-26 15:04:24 +01:00
blobs Allow non-legacy RockPi-S images to boot from their built-in EMMC (aka SDNAND) chips (#4002) 2022-07-16 10:37:37 +02:00
bsp Fix armbian header (#4144) 2022-09-03 23:21:00 +02:00
extras-buildpkgs Adjust chroot build packages due to Jammy upgrade (#3650) 2022-04-11 00:39:03 +02:00
pack-uboot Orangepi Zero2 legacy - adjust memory voltage according to manufacturer's recommendation 2021-12-08 21:41:23 +01:00
README.md Improvements for BSP creation (#2975) 2021-07-07 16:06:00 +02:00

folder function
armbian kernel deb packaging scripts
blobs
bsp
bsp-cli common files which are copied in armbian-cli-* package
bsp-desktop common files which are copied in armbian-desktop-* package
extras-buildpkgs