From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Alexander Kanavin <alexander.kanavin@linux.intel.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 43/44] base-files: do not write the current date into /etc/issue and /etc/issue.net
Date: Sat, 11 Mar 2017 11:22:57 +0000 [thread overview]
Message-ID: <1489231377.13980.8.camel@linuxfoundation.org> (raw)
In-Reply-To: <3f1ae965face4644d3d1998d8fd3c21e6ef20711.1489144807.git.alexander.kanavin@linux.intel.com>
On Fri, 2017-03-10 at 13:24 +0200, Alexander Kanavin wrote:
> This is causing a problem in multilib where base-files and lib64/32-
> base-files
> clash because they may have different dates. Also, if the package is
> coming
> from sstate it has an incorrect date anyway.
>
> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> ---
> meta/recipes-core/base-files/base-files_3.0.14.bb | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb
> b/meta/recipes-core/base-files/base-files_3.0.14.bb
> index d1380053115..c7a9e803cb1 100644
> --- a/meta/recipes-core/base-files/base-files_3.0.14.bb
> +++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
> @@ -145,8 +145,9 @@ do_install_basefilesissue () {
> printf "${DISTRO_NAME} " >> ${D}${sysconfdir}/issue
> printf "${DISTRO_NAME} " >>
> ${D}${sysconfdir}/issue.net
> if [ -n "${DISTRO_VERSION}" ]; then
> - printf "${DISTRO_VERSION} " >>
> ${D}${sysconfdir}/issue
> - printf "${DISTRO_VERSION} " >>
> ${D}${sysconfdir}/issue.net
> + distro_version_nodate=${@'${DISTRO_VERSION}'
> .replace('snapshot-${DATE}','snapshot').replace('${DATE}','')}
> + printf "%s " $distro_version_nodate >>
> ${D}${sysconfdir}/issue
> + printf "%s " $distro_version_nodate >>
> ${D}${sysconfdir}/issue.net
> fi
> printf "\\\n \\\l\n" >> ${D}${sysconfdir}/issue
> echo >> ${D}${sysconfdir}/issue
https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/213/steps/Running%20oe-selftest/logs/stdio
You probably need a vardepsexclude on DATE here...
Cheers,
Richard
next prev parent reply other threads:[~2017-03-11 11:25 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 11:23 [PATCH 00/44] Replace Smart package manager with DNF package manager Alexander Kanavin
2017-03-10 11:23 ` [PATCH 01/44] package.bbclass: fix locations of debugedit and rpmdeps utilities Alexander Kanavin
2017-03-10 11:23 ` [PATCH 02/44] libsolv: enable rpm support Alexander Kanavin
2017-03-10 11:23 ` [PATCH 03/44] rpmresolve: remove the recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 04/44] createrepo-c: add a recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 05/44] createrepo: remove the recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 06/44] rpm: add a 4.x recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 07/44] rpm: remove 5.x recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 08/44] python-pygpgme: add a recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 09/44] python-iniparse: " Alexander Kanavin
2017-03-10 11:23 ` [PATCH 10/44] python-backports-lzma: " Alexander Kanavin
2017-03-10 11:23 ` [PATCH 11/44] librepo: " Alexander Kanavin
2017-03-10 11:23 ` [PATCH 12/44] libcomps: " Alexander Kanavin
2017-03-10 11:23 ` [PATCH 13/44] libdnf: " Alexander Kanavin
2017-03-10 11:23 ` [PATCH 14/44] dnf: " Alexander Kanavin
2017-03-10 11:23 ` [PATCH 15/44] python-smartpm: remove the recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 16/44] db: remove the 6.x recipe Alexander Kanavin
2017-03-10 11:23 ` [PATCH 17/44] package_rpm.bbclass: make architecture-independent .rpm packages "noarch" instead of "all" Alexander Kanavin
2017-03-10 11:23 ` [PATCH 18/44] package_manager.py: improve the API for insert_feed_uris() Alexander Kanavin
2017-03-10 11:23 ` [PATCH 19/44] package_rpm.bbclass: correctly map RRECOMMENDS and RSUGGESTS to rpm tags Alexander Kanavin
2017-03-10 16:41 ` Mark Hatle
2017-03-10 11:23 ` [PATCH 20/44] nativesdk-packagegroup-sdk-host: replace smartpm with dnf Alexander Kanavin
2017-03-10 11:24 ` [PATCH 21/44] rootfs_rpm.bbclass: migrate image creation to dnf Alexander Kanavin
2017-03-13 14:25 ` Burton, Ross
2017-03-13 14:52 ` Alexander Kanavin
2017-03-13 15:04 ` Alexander Kanavin
2017-03-13 15:07 ` Alexander Kanavin
2017-03-10 11:24 ` [PATCH 22/44] scripts/rpm2cpio.sh: replace 5.x version with 4.x version Alexander Kanavin
2017-03-10 17:26 ` Mark Hatle
2017-03-14 12:44 ` Burton, Ross
2017-03-10 11:24 ` [PATCH 23/44] scripts/oe-setup-rpmrepo: replace createrepo with createrepo_c Alexander Kanavin
2017-03-10 11:24 ` [PATCH 24/44] package_rpm.bbclass: replace createrepo reference " Alexander Kanavin
2017-03-10 11:24 ` [PATCH 25/44] package_rpm.bbclass: no need to specify the magic file location Alexander Kanavin
2017-03-10 11:24 ` [PATCH 26/44] testimage.bbclass: fix runtime test for rpm, port smart tests to dnf Alexander Kanavin
2017-03-10 11:24 ` [PATCH 27/44] package_rpm.bbclass: instruct rpm to not remove the buildroot directory Alexander Kanavin
2017-03-10 11:24 ` [PATCH 28/44] selftest: do not perform a full build in test_continue Alexander Kanavin
2017-03-10 11:24 ` [PATCH 29/44] selftest: update output checks in incremental image test to match what dnf prints Alexander Kanavin
2017-03-10 11:24 ` [PATCH 30/44] byacc: remove the recipe Alexander Kanavin
2017-03-10 16:37 ` Mark Hatle
2017-03-13 13:18 ` Alexander Kanavin
2017-03-13 14:02 ` Mark Hatle
2017-03-10 11:24 ` [PATCH 31/44] gpg_sign.py: fix signing of rpm files using gpg Alexander Kanavin
2017-03-10 11:24 ` [PATCH 32/44] oe-selftest: no need to parse gpg output to determine the name of the signing key Alexander Kanavin
2017-03-10 11:24 ` [PATCH 33/44] run-postinsts: simplify the logic of whether to install it to images Alexander Kanavin
2017-03-10 11:24 ` [PATCH 34/44] package_rpm.bbclass: add a /bin/sh Provides for nativesdk- packages Alexander Kanavin
2017-03-10 16:54 ` Mark Hatle
2017-03-13 14:21 ` Alexander Kanavin
2017-03-13 14:27 ` Mark Hatle
2017-03-10 11:24 ` [PATCH 35/44] security_flags.inc: update to reflect smart->dnf transition Alexander Kanavin
2017-03-10 11:24 ` [PATCH 36/44] package_rpm.bbclass: do not set the OS dynamically when building rpms Alexander Kanavin
2017-03-10 16:57 ` Mark Hatle
2017-03-13 14:24 ` Alexander Kanavin
2017-03-13 14:29 ` Mark Hatle
2017-03-10 11:24 ` [PATCH 37/44] nspr: do not use shared library symbol resolution with musl Alexander Kanavin
2017-03-10 11:24 ` [PATCH 38/44] package_rpm.bbclass: do not strip multilib prefixes from package names, do not add multilib prefix to package arch Alexander Kanavin
2017-03-10 17:04 ` Mark Hatle
2017-03-13 14:35 ` Alexander Kanavin
2017-03-10 11:24 ` [PATCH 39/44] package.bbclass: don't exclude package groups from runtime mapping Alexander Kanavin
2017-03-10 17:12 ` Mark Hatle
2017-03-10 11:24 ` [PATCH 40/44] glibc: do the multilib_header magic also for bits/long-double.h Alexander Kanavin
2017-03-10 11:24 ` [PATCH 41/44] bash: package bashbug separately Alexander Kanavin
2017-03-10 17:13 ` Mark Hatle
2017-03-13 14:39 ` Alexander Kanavin
2017-03-10 11:24 ` [PATCH 42/44] db: do the multilib_header processing for db.h Alexander Kanavin
2017-03-10 11:24 ` [PATCH 43/44] base-files: do not write the current date into /etc/issue and /etc/issue.net Alexander Kanavin
2017-03-11 11:22 ` Richard Purdie [this message]
2017-03-11 16:22 ` Richard Purdie
2017-03-10 11:24 ` [PATCH 44/44] gpgme: fix python module build and installation Alexander Kanavin
2017-03-14 15:14 ` [PATCH 00/44] Replace Smart package manager with DNF package manager Richard Purdie
2017-03-14 16:48 ` Otavio Salvador
2017-03-14 17:14 ` Richard Purdie
2017-03-14 17:17 ` Otavio Salvador
2017-03-14 17:35 ` Richard Purdie
2017-03-14 21:12 ` Robert P. J. Day
2017-03-15 9:04 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1489231377.13980.8.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=alexander.kanavin@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox