diff options
| -rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index 7fe9e3d8c8..a3f96ef7ed 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
| @@ -62,7 +62,7 @@ python () { | |||
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | systemd_create_users () { | 64 | systemd_create_users () { |
| 65 | for conffile in ${IMAGE_ROOTFS}/usr/lib/sysusers.d/systemd.conf ${IMAGE_ROOTFS}/usr/lib/sysusers.d/systemd-remote.conf; do | 65 | for conffile in ${IMAGE_ROOTFS}/usr/lib/sysusers.d/*.conf; do |
| 66 | [ -e $conffile ] || continue | 66 | [ -e $conffile ] || continue |
| 67 | grep -v "^#" $conffile | sed -e '/^$/d' | while read type name id comment; do | 67 | grep -v "^#" $conffile | sed -e '/^$/d' | while read type name id comment; do |
| 68 | if [ "$type" = "u" ]; then | 68 | if [ "$type" = "u" ]; then |
