aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-10-21 14:30:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-25 08:18:13 +0000
commitb4499ec0361d5c79efb40b6172c33d5602721182 (patch)
tree7a2f914a1a81d7aa8e3e3ff1e16b8e027e0358fe /meta/recipes-extended/lsb
parentbcc548c750fb665b1ee3ca96c421e097804b2f67 (diff)
downloadopenembedded-core-contrib-b4499ec0361d5c79efb40b6172c33d5602721182.tar.gz
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: 2501c2f03f24fbbefd9999dd444318704d8aa8c2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lsb')
0 files changed, 0 insertions, 0 deletions