summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/shadow/shadow.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index f5fdf436f7..b3ae2b4874 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -149,6 +149,13 @@ do_install:append() {
149 # Handle link properly after rename, otherwise missing files would 149 # Handle link properly after rename, otherwise missing files would
150 # lead rpm failed dependencies. 150 # lead rpm failed dependencies.
151 ln -sf newgrp.${BPN} ${D}${bindir}/sg 151 ln -sf newgrp.${BPN} ${D}${bindir}/sg
152
153 # usermod requires the subuid/subgid files to be in place before being
154 # able to use the -v/-V flags otherwise it fails:
155 # usermod: /etc/subuid does not exist, you cannot use the flags -v or -V
156 install -d ${D}${sysconfdir}
157 touch ${D}${sysconfdir}/subuid
158 touch ${D}${sysconfdir}/subgid
152} 159}
153 160
154PACKAGES =+ "${PN}-base" 161PACKAGES =+ "${PN}-base"