From 8e73405d5e75771ce45a38ebe7a7f86def704bed Mon Sep 17 00:00:00 2001 From: Ramon Moesching Date: Mon, 19 Nov 2018 15:17:43 +0100 Subject: [PATCH] base_files bbappend: Quiet basehash errors, removed DATE variable Previous fixes didn't helped so remove DATE variable from recipe to get some silence in here. Also removed do_configure and do_install_remove [nostamp] since they are not really necessary. But let do_comile and do_install [nostamp] stay for forcing rebuild and installation to keep files in final rootfs up to date. Signed-off-by: Ramon Moesching --- recipes-core/base-files/base-files_%.bbappend | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/recipes-core/base-files/base-files_%.bbappend b/recipes-core/base-files/base-files_%.bbappend index 8e56c01..c3e48e5 100644 --- a/recipes-core/base-files/base-files_%.bbappend +++ b/recipes-core/base-files/base-files_%.bbappend @@ -1,8 +1,6 @@ BASEFILESISSUEINSTALL = "do_install_basefilesissue" -distro_version_nodate = "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot').replace('${DATE}','')}" - -DISTROVERSION-ISSUE = "${DISTRO_NAME} ${distro_version_nodate} \n" +DISTROVERSION-ISSUE = "${DISTRO_NAME} ${DISTRO_VERSION} \n" DISTROVERSION-ISSUE_append= "kernel \\\r\n" DISTROVERSION-ISSUE_append = "\\\n @ \\\l\n" @@ -24,7 +22,5 @@ do_install_basefilesissue() { echo -e "%h\n" >> ${D}${sysconfdir}/issue.net } -do_configure[nostamp] = "1" do_compile[nostamp] = "1" do_install[nostamp] = "1" -do_install_remove[vardeps] = "DATE DISTRO_VERSION distro_version_nodate DISTROVERSION-ISSUE "