<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-core/base-files, branch pyro-enea</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=pyro-enea</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=pyro-enea'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2017-04-10T22:00:42+00:00</updated>
<entry>
<title>base-files: profile: Do not assume that the tty command exists</title>
<updated>2017-04-10T22:00:42+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2017-04-03T12:48:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=16b822509a4b7bce7bbf901337004caafe872f64'/>
<id>urn:sha1:16b822509a4b7bce7bbf901337004caafe872f64</id>
<content type='text'>
This avoids the following error when logging in to a host that does
not have the tty command:

-sh: tty: not found

Reported-by: Cristian Ionescu-Idbohrn &lt;cristian.ionescu-idbohrn@axis.com&gt;
(From OE-Core rev: e77cdb761169e404556487ac650dc562000da406)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: profile: Whitespace clean up</title>
<updated>2017-04-10T22:00:42+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2017-04-03T12:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=227ec4809dbcdecd7a09392569f4464d9625d02a'/>
<id>urn:sha1:227ec4809dbcdecd7a09392569f4464d9625d02a</id>
<content type='text'>
(From OE-Core rev: 479a6202236832367bb48e4e089a6d99818685e5)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: resize only serial tty's in profile</title>
<updated>2017-04-01T07:14:58+00:00</updated>
<author>
<name>Daniel Díaz</name>
<email>daniel.diaz@linaro.org</email>
</author>
<published>2017-03-23T21:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=63c605b8413a8cd1f29926d3e604b14a9c275ca2'/>
<id>urn:sha1:63c605b8413a8cd1f29926d3e604b14a9c275ca2</id>
<content type='text'>
We don't want to run resize on non serial consoles. There's
been an earlier attempt (6557787), so this builds upon that.

The problem we're seeing is that if there is text buffered in
the virtual console (like from a desperate user trying to
enter login details), resize will get stuck while calling
  ioctl(tty, TCSETAW);

Since serial consoles are named (not just numbered), this
change limits resize's reach even further to run only on
/dev/tty[A-z] (thus avoiding /dev/tty[0-9]).

(From OE-Core rev: 474ef7c95722aa68ee5dfbae2920d7c3d436d717)

Signed-off-by: Daniel Díaz &lt;daniel.diaz@linaro.org&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: Replace hardcoded root paths with appropriate bitbake variables</title>
<updated>2017-03-24T23:43:32+00:00</updated>
<author>
<name>Amarnath Valluri</name>
<email>amarnath.valluri@intel.com</email>
</author>
<published>2017-02-22T08:27:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=80c3ce22bd92e1f16134584fd8fc5bc01f4b4278'/>
<id>urn:sha1:80c3ce22bd92e1f16134584fd8fc5bc01f4b4278</id>
<content type='text'>
/bin, /sbin, /lib are replaced with ${base_bindir}, ${base_sbindir} and
${base_libdir}.

(From OE-Core rev: 9b490e61938e06fda881b2213565c4de1f740f98)

Signed-off-by: Amarnath Valluri &lt;amarnath.valluri@intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: do not write the current date into /etc/issue and /etc/issue.net</title>
<updated>2017-03-11T16:09:14+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alexander.kanavin@linux.intel.com</email>
</author>
<published>2017-03-10T11:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cd06d245259ef0afd6558ebf55201a02db27019a'/>
<id>urn:sha1:cd06d245259ef0afd6558ebf55201a02db27019a</id>
<content type='text'>
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.

(From OE-Core rev: 846c86ffc4574feafd89a028e50f7719075633f2)

Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta: remove True option to getVar calls</title>
<updated>2016-12-16T10:23:23+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>joshua.g.lock@intel.com</email>
</author>
<published>2016-12-14T21:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c4e2c59088765d1f1de7ec57cde91980f887c2ff'/>
<id>urn:sha1:c4e2c59088765d1f1de7ec57cde91980f887c2ff</id>
<content type='text'>
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

(From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f)

Signed-off-by: Joshua Lock &lt;joshua.g.lock@intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: fix profile error under &lt; /dev/null</title>
<updated>2016-10-15T09:01:42+00:00</updated>
<author>
<name>Richard Tollerton</name>
<email>rich.tollerton@ni.com</email>
</author>
<published>2016-10-12T01:08:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b7b2e348716161deb21c9864ac5caa5f1df1fa9c'/>
<id>urn:sha1:b7b2e348716161deb21c9864ac5caa5f1df1fa9c</id>
<content type='text'>
Previous attempts to constrain execution of `resize` to only TTYs did
not properly handle situations when `tty` would return the string "not a
tty". The symptom is "/etc/profile: line 34: test: too many arguments".
Fix this by utilizing the exit code of `tty`. Also use `case` instead of
`cut` to eliminate a subshell.

(From OE-Core rev: e67637e4472ff3a1e2801b84ee3d69d4e14b9efc)

Signed-off-by: Richard Tollerton &lt;rich.tollerton@ni.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: don't export TZ="UTC" from /etc/profile</title>
<updated>2016-10-05T09:10:10+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2016-10-04T18:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dea70975dc7678dc3bc10c55f4ab0888cdcb7927'/>
<id>urn:sha1:dea70975dc7678dc3bc10c55f4ab0888cdcb7927</id>
<content type='text'>
If no /etc/localtime (or /etc/TZ for uclibc) is found, then the libc
will default to UTC, so setting UTC as a fallback default via the TZ
environment variable is redundant.

Since having the TZ environment variable set causes /etc/localtime
to be ignored, it can cause confusion if /etc/localtime is added
interactively after /etc/profile has been run.

(From OE-Core rev: 98b6420952cbf73ddd1318f36c68d575c330eb71)

Signed-off-by: Andre McCurdy &lt;armccurdy@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: Add shell test quoting</title>
<updated>2016-09-03T22:45:52+00:00</updated>
<author>
<name>Jussi Kukkonen</name>
<email>jussi.kukkonen@intel.com</email>
</author>
<published>2016-08-30T08:32:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1100af93cb07caf24d568c039d52fb0c80714c30'/>
<id>urn:sha1:1100af93cb07caf24d568c039d52fb0c80714c30</id>
<content type='text'>
tty can return "not a tt" which results in warnings when /etc/profile
is executed.

(From OE-Core rev: eed586dd238efe859442b21b425f04e262bcdb2b)

Signed-off-by: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: restrict resize to run on serial consoles only in profile │·</title>
<updated>2016-08-10T09:46:34+00:00</updated>
<author>
<name>bavery</name>
<email>brian.avery@intel.com</email>
</author>
<published>2016-08-09T00:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5aca5bc9a13d9d4a477cfd2d04edbcc8a8a0e412'/>
<id>urn:sha1:5aca5bc9a13d9d4a477cfd2d04edbcc8a8a0e412</id>
<content type='text'>
We don't need/wan't to run resize on an ssh connection. It's useless and
it breaks the Eclipse SSH debug connection. So, we added a check.

YOCTO #9362

(From OE-Core rev: 655778769f50d3aff74d7a436d28ac31b6aebb11)

Signed-off-by: bavery &lt;brian.avery@intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
