base-files: don't rely on DISTRO_VERSION

The distro string can be retrieved at runtime from /lib/os-release
with this \S escaping. It avoids rebuilding base-file everytime the
distro version changes. Which helps to reducing the overall build time,
since base-file is an important dependency.

BugzID: 69247
This commit is contained in:
Alexandre Bard 2020-12-01 13:24:11 +01:00
parent d21b1535ca
commit 214675e10a
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
BASEFILESISSUEINSTALL = "do_install_basefilesissue"
DISTROVERSION-ISSUE = "${DISTRO_NAME} ${DISTRO_VERSION} \n"
DISTROVERSION-ISSUE = "\S{PRETTY_NAME}\n"
DISTROVERSION-ISSUE_append= "kernel \\\r\n"
DISTROVERSION-ISSUE_append = "\\\n @ \\\l\n"