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