diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2024-11-07 18:55:47 -0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-11-12 23:19:50 +0000 |
commit | 7c78f4ef96020b702c027d179895c9f97179b4fc (patch) | |
tree | 0fe52377c5cd29216d0b6323c01668458583d68a /recipes-extended/xen/files/tools-gdbsx-fix-Wstringop-truncation-warning.patch | |
parent | 7bba250fd35409339c4349cc4fb82fe5a47ea872 (diff) | |
download | meta-virtualization-scarthgap.tar.gz |
libvirt: set USERADD_DEPENDS to avoid package_write_rpm failurescarthgap
When do_package uses state cache and is not re-run but do_package_write_rpm
is re-run, then we get the following error:
Exception: KeyError: 'getpwuid(): uid not found: 996'
This is because libvirt does chown to polkitd in do_install and polkitd
is from polkit.
Here's an easy way to reproduce this issue:
bitbake libvirt -c cleansstate && bitbake libvirt -c package && \
bitbake libvirt -c clean && bitbake libvirt -c package_write_rpm
So make use of USERADD_DEPENDS to ensure polkitd exists to fix this issue.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen/files/tools-gdbsx-fix-Wstringop-truncation-warning.patch')
0 files changed, 0 insertions, 0 deletions