[OE-core] [PATCH 43/44] base-files: do not write the current date into /etc/issue and /etc/issue.net
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Mar 11 16:22:50 UTC 2017
On Sat, 2017-03-11 at 11:22 +0000, Richard Purdie wrote:
> On Fri, 2017-03-10 at 13:24 +0200, Alexander Kanavin wrote:
> > 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...
I fixed that and merged this...
Cheers,
Richard
More information about the Openembedded-core
mailing list