diff --git a/meta-oniro-core/recipes-extended/shadow/shadow_%.bbappend b/meta-oniro-core/recipes-extended/shadow/shadow_%.bbappend index 2909fbc3baed9e4e2c074fccd392940dc12ec29f..ef4edf6acdabd9bcea154a21a45c8be7b2a8404c 100644 --- a/meta-oniro-core/recipes-extended/shadow/shadow_%.bbappend +++ b/meta-oniro-core/recipes-extended/shadow/shadow_%.bbappend @@ -10,11 +10,3 @@ # -Werror=format-nonliteral globally in OPTIMIZE_FOR=security mode # while keeping shadow building. TARGET_CFLAGS:remove = "-Werror=format-nonliteral" - -do_install:append () { - # usermod requires the subuid/subgid files to be in place before being - # able to use the -v/-V flags otherwise it fails: - # usermod: /etc/subuid does not exist, you cannot use the flags -v or -V - touch ${D}${sysconfdir}/subuid - touch ${D}${sysconfdir}/subgid -}