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:
parent
d21b1535ca
commit
214675e10a
|
|
@ -1,6 +1,6 @@
|
||||||
BASEFILESISSUEINSTALL = "do_install_basefilesissue"
|
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= "kernel \\\r\n"
|
||||||
DISTROVERSION-ISSUE_append = "\\\n @ \\\l\n"
|
DISTROVERSION-ISSUE_append = "\\\n @ \\\l\n"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue