<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-core/base-files, branch dunfell-23.0.26</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=dunfell-23.0.26</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=dunfell-23.0.26'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-03-25T23:00:59+00:00</updated>
<entry>
<title>base-files: Drop localhost.localdomain from hosts file</title>
<updated>2023-03-25T23:00:59+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-03-15T14:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f76c7b8e6366129a2550417ed6f091717d897a81'/>
<id>urn:sha1:f76c7b8e6366129a2550417ed6f091717d897a81</id>
<content type='text'>
This was likely something we took inspiration from elsewhere with.
It was added in:

https://git.openembedded.org/openembedded/commit/packages/netbase/netbase/hosts?id=c8e5702127e507e82e6f68a4b8c546803accea9d

in 2005. Debian added this entry around 2004 and discussed and dropped
it in 2005:

https://lists.debian.org/debian-devel/2005/10/msg00559.html

resulting in:

https://salsa.debian.org/installer-team/netcfg/-/commit/3c15ee521b2b8f47b34ccc7f610523cd284f2221

We should drop this for some of the reasons in those threads,
it doesn't seem to be doing anything too helpful and isn't what most
applications expect.

(From OE-Core rev: a04b207c4ffa900313a0b5e3079ad2eec7d31f27)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit e730d005fa8aec07f9ae25c58d4566eaa92a6997)
Signed-off-by: Jermain Horsman &lt;jermain.horsman@nedap.com&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: set ptmxmode to 666</title>
<updated>2019-11-27T13:25:18+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan.agner@toradex.com</email>
</author>
<published>2019-11-15T16:09:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=73f6b1f68ddfc616c46277b1d5a623001ca3b0e5'/>
<id>urn:sha1:73f6b1f68ddfc616c46277b1d5a623001ca3b0e5</id>
<content type='text'>
Make sure that the (newer) /dev/pts/ptmx is accessible by users. This
is useful e.g. when running containers which symlink /dev/ptmx to
/dev/pts/ptmx on start. The default mode (000) does not allow to
create ptys inside the container.

Using 666 when symlinking /dev/ptmx is also recommended by the kernel
documentation when /dev/ptmx is symlinked:
https://www.kernel.org/doc/Documentation/filesystems/devpts.txt

Also buildroot uses ptmxmode=0666. The patch introducing the change
explains related use cases why this is necessary a bit more in depth:
https://github.com/buildroot/buildroot/commit/8196b299ba12bd6741bf7f4462cad180dab77fb0#diff-2d4604b9e565eb19fa52ce31f282f06c

(From OE-Core rev: c999bc5ddd9beb5274f77b885e2ac71205e42266)

Signed-off-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: drop legacy empty file /etc/default/usbd</title>
<updated>2019-09-18T11:09:02+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2019-09-16T19:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f2b682e0016210e3a1f9dd1b09590d3ea5a73d50'/>
<id>urn:sha1:f2b682e0016210e3a1f9dd1b09590d3ea5a73d50</id>
<content type='text'>
Doesn't seem to be referenced by anything in oe-core any more.

(From OE-Core rev: 526188096bc37af3140c9210ece92ed94c3bdfe0)

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: nsswitch.conf is glibc specific</title>
<updated>2019-08-28T10:31:22+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2019-08-23T20:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b054f8d3ba1dd20988ed928ab309d5664447afc1'/>
<id>urn:sha1:b054f8d3ba1dd20988ed928ab309d5664447afc1</id>
<content type='text'>
(From OE-Core rev: e9f751a6fd6a4fc1cfac74202e1b71291aade705)

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: move hostname operations out of issue file settings</title>
<updated>2019-04-23T22:30:20+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2019-04-17T02:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=78ac62b44a9cb85f764b4145d186f55b8b6a1cdb'/>
<id>urn:sha1:78ac62b44a9cb85f764b4145d186f55b8b6a1cdb</id>
<content type='text'>
The function do_install_basefilesissue is meant to deal with
/etc/issue* files and the following setting could actually be
overridden.

  BASEFILESISSUEINSTALL ?= "do_install_basefilesissue"

So move the hostname operations out of this function.

(From OE-Core rev: f17bcc46341db5ee91bb26389ccaebc68c49b97e)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: filesystems serves no real purpose</title>
<updated>2019-01-31T23:23:27+00:00</updated>
<author>
<name>Jonas Bonn</name>
<email>jonas@norrbonn.se</email>
</author>
<published>2019-01-29T07:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c59baed3a86c5e1f32214c07c724aa4f5bd45d71'/>
<id>urn:sha1:c59baed3a86c5e1f32214c07c724aa4f5bd45d71</id>
<content type='text'>
mount can generally figure out the filesystem type from the superblock;
otherwise, /proc/filesystems is a more correct fallback than
/etc/filesystems and presumably always available.

(From OE-Core rev: 4199676383ce50b81c05a4d2b2610c9cdb49342e)

Signed-off-by: Jonas Bonn &lt;jonas@norrbonn.se&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: Avoid problems if DISTRO_VERSION contains undefined variable</title>
<updated>2019-01-21T23:44:22+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2019-01-18T15:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e21c1e52a523c6eefda06f5a6561081d642e5f94'/>
<id>urn:sha1:e21c1e52a523c6eefda06f5a6561081d642e5f94</id>
<content type='text'>
If DISTRO_VERSION is defined to some undefined variable, e.g.,
DISTRO_VERSION = "${FOO_VERSION}", and /bin/sh is dash, then
do_install() would fail with an error such as:

  run.do_install.2945:193: run.do_install.2945: Syntax error:
  Unterminated quoted string

This was due to unexpanded Python code making it into the shell code,
confusing the shell parser.

Reported-by: srinivasan &lt;srinivasan.rns@gmail.com&gt;
(From OE-Core rev: fdd0b9e26ef11fa287692848ea3add64ba623433)

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>netbase/base-files: move /etc/hosts from netbase to base-files</title>
<updated>2019-01-11T10:39:08+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2019-01-08T09:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=53cebfdfcc189a65de82eccdbd18acf4d979e624'/>
<id>urn:sha1:53cebfdfcc189a65de82eccdbd18acf4d979e624</id>
<content type='text'>
Move /etc/hosts to base-files, and also add entry to it according
to hostname setting. This fixes the problem of commands like
`hostname -f' failing due to lack of such entry.

(From OE-Core rev: 31e6d08f20a804fccb958e19045d8f9e9806071a)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: change permissions on /sys and /proc</title>
<updated>2018-10-18T22:26:35+00:00</updated>
<author>
<name>Dan McGregor</name>
<email>dan.mcgregor@usask.ca</email>
</author>
<published>2018-10-17T21:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=41081ca0eeb0e62829a6af5fb9d2876904832a2f'/>
<id>urn:sha1:41081ca0eeb0e62829a6af5fb9d2876904832a2f</id>
<content type='text'>
The kernel mounts /proc and /sys with the mode 555. Fedora explicitly
sets this value in its filesystem setup package. Debian doesn't seem
to set it explictly.  Having them be 755 causes permission issues on
upgrades inside a container where the guest does not have the
permission to change the modes of the mount points.

So, just bite the bullet and force them to be 555.

(From OE-Core rev: 7e311b0c7222fa9127a96945c9ded7bee5e40eb3)

Signed-off-by: Dan McGregor &lt;dan.mcgregor@usask.ca&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base-files: fix handling of resize</title>
<updated>2018-08-14T10:36:31+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2018-08-01T05:25:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=96eb506b5b213a2e15d74c1bbf940f563a3b7869'/>
<id>urn:sha1:96eb506b5b213a2e15d74c1bbf940f563a3b7869</id>
<content type='text'>
The current handling of resize is incorrect. Using `resize &gt; /dev/null
2&gt;&amp;1 &amp;&amp; resize &gt; /dev/null' will cause the second resize command to not
execute because 'resize &gt; /dev/null 2&gt;&amp;1' will fail for resize utility
from busybox.

What we really should do is just to check whether ${bindir}/resize
is executable and execute it if so. Using '-x' is sufficient.

(From OE-Core rev: 41688279cba3a5afc4fdc65fd245b9bb6ada695e)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
