poky/meta
Chen Qi 9fc095a439 image.bbclass: avoid boot error on read-only systemd image
New version of systemd implements a new feature of updating /etc
or /var when needed at boot. For details, please see link below.

Opointer.de/blog/projects/stateless.html

For now, at boot time, the systemd-sysusers.service would update user
database files (/etc/passwd, /etc/group, etc.) according to the configuration
files under /usr/lib/sysusers.d. This step is necessary for other systemd
services to work correctly. Examples of such services are systemd-resolved
and systemd-tmpfiles-setup.

The problem is that on a read-only file system, that is, if /etc is read-only,
the user database files could not be updated, causing failures of services.

This patch fixes this problem by adding users/groups at rootfs time.

(From OE-Core rev: c7b9611ad0ead17a624fc73a60c321ff249c2214)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-15 16:01:47 +00:00
..
classes image.bbclass: avoid boot error on read-only systemd image 2015-01-15 16:01:47 +00:00
conf tcmode-default.inc: use GCCVERSION for gcc-source 2015-01-06 14:13:44 +00:00
files toolchain-shar-template.sh: fix the text files in the top dir 2014-12-31 10:18:45 +00:00
lib package_manager.py: fix arguments to string format 2014-12-31 10:18:57 +00:00
recipes-bsp pciutils: Fix multilib header conflict - pci/config.h 2014-12-31 10:18:33 +00:00
recipes-connectivity bind: fix for CVE-2014-8500 2015-01-06 14:13:42 +00:00
recipes-core build-appliance-image: Update to dizzy head revision 2015-01-06 14:18:52 +00:00
recipes-devtools gcc: stub do_fetch instead of removing it 2015-01-06 14:13:43 +00:00
recipes-extended shadow: disable nscd feature when glibc is not built with spawn posix functions 2014-12-31 10:19:05 +00:00
recipes-gnome gdk-pixbuf: use ptest-gnome 2014-12-31 10:18:52 +00:00
recipes-graphics lbdrm: fix build issue. 2014-12-31 10:19:09 +00:00
recipes-kernel lttng-modules: fix mm_compaction_isolate_template build 2015-01-06 14:13:41 +00:00
recipes-lsb4 libpod-plainer-perl: Upgrade to 1.04 2014-07-17 12:28:52 +01:00
recipes-multimedia gstreamer1.0-* fix configure for out of tree build on git recipes 2014-12-31 10:19:03 +00:00
recipes-qt meta-toolchain-qt: Fix environment population 2014-10-10 16:44:31 +01:00
recipes-rt hwlatdetect: fix PV 2014-06-17 10:23:53 +01:00
recipes-sato packagegroup: Move inherit packagegroup to after PACKAGE_ARCH 2014-08-25 08:57:44 +01:00
recipes-support apr: avoid absolute paths for grep 2014-12-31 10:19:02 +00:00
site site/common-darwin: Really fix common-darwin typo 2014-08-18 10:00:26 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt