mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
We need to read DISTRIBUTION_STATUS in order to have information about (#3815)
* 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
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
# License version 2. This program is licensed "as is" without any
|
||||
# warranty of any kind, whether express or implied.
|
||||
|
||||
# read distribution status
|
||||
[[ -f /etc/lsb-release ]] && . /etc/lsb-release
|
||||
[[ -n "$DISTRIB_CODENAME" && -f /etc/armbian-distribution-status ]] && DISTRIBUTION_STATUS=$(cat /etc/armbian-distribution-status | grep "$DISTRIB_CODENAME" | cut -d"=" -f2)
|
||||
|
||||
. /etc/armbian-release
|
||||
|
||||
|
||||
@@ -352,6 +356,8 @@ if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then
|
||||
echo -e "\nSupport status: \e[0;31mno support\x1B[0m (edge kernel branch)"
|
||||
elif [[ "$DISTRIBUTION_STATUS" != "supported" ]]; then
|
||||
echo -e "\nSupport status: \e[0;31mno support\x1B[0m (unsupported userspace)"
|
||||
elif [[ "$BOARD_TYPE" != "supported" ]]; then
|
||||
echo -e "\nSupport status: \e[0;31mcommunity support\x1B[0m (looking for a dedicated maintainer)"
|
||||
fi
|
||||
else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user