From 0217084b705e6674a199d1638a5b91053bb41877 Mon Sep 17 00:00:00 2001
From: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: Wed, 14 Dec 2022 17:16:31 +0100
Subject: [PATCH] base-files: /etc/banner: Adapt after image naming change

Use CONFIG_VERSION_DIST to write IOWRT version. This way, it will also
be the right text for downstream forks of our customers, who use
CONFIG_VERSION_CODE for their version number. Hardcode OpenWrt to print
the OpenWrt version, because we modify CONFIG_VERSION_DIST to be IOWRT
since feed/iopsys commit a37729d885f4 (iop: config: Set version
config-settings, 2022-09-19).

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
---
 package/base-files/files/etc/banner | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/base-files/files/etc/banner b/package/base-files/files/etc/banner
index bcebf8fd690..7534f40e1d7 100644
--- a/package/base-files/files/etc/banner
+++ b/package/base-files/files/etc/banner
@@ -6,6 +6,6 @@
     ██     ██▄▄██      ███  ███    ██    ██      ██
     ▀▀      ▀▀▀▀       ▀▀▀  ▀▀▀    ▀▀    ▀▀      ▀▀
 
-%M Version: %C
-%D base: %V
+%D Version: %C
+OpenWrt base: %V
 ------------------------------------
-- 
GitLab