diff options
author | Guocai He <guocai.he.cn@windriver.com> | 2025-05-09 14:50:28 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2025-05-19 22:52:50 -0400 |
commit | a6f88557b0827b66faeef0c2c0251c1d4f75de88 (patch) | |
tree | 830453f10bd22e16b91ad86b2a7d3d3bf9154c38 | |
parent | 19a66be0daf85dbdc311d74cfcba4b0502c1a3be (diff) | |
download | meta-virtualization-a6f88557b0827b66faeef0c2c0251c1d4f75de88.tar.gz |
libvirt: add groups of libvirt and virtlogin
The systemd_sysusers_check logs:
WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group libvirt has never been defined
WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group virtlogin has never been defined
This is because when libvirt is updated to v11.1.0, it involves:
2dd4f594ea tools: add sysusers file to create 'virtlogin' group
18f0160994 remote: add sysusers file to create 'libvirt' group
To eliminate this warning, it is necessary to add these two groups.
Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb index 4c6b3bdd..7d694ac1 100644 --- a/recipes-extended/libvirt/libvirt_git.bb +++ b/recipes-extended/libvirt/libvirt_git.bb | |||
@@ -47,7 +47,7 @@ S = "${WORKDIR}/git" | |||
47 | 47 | ||
48 | inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative | 48 | inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative |
49 | USERADD_PACKAGES = "${PN}" | 49 | USERADD_PACKAGES = "${PN}" |
50 | GROUPADD_PARAM:${PN} = "-r qemu; -r kvm" | 50 | GROUPADD_PARAM:${PN} = "-r qemu; -r kvm; -r libvirt; -r virtlogin" |
51 | USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu" | 51 | USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu" |
52 | 52 | ||
53 | 53 | ||