summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/xen-tools_4.15.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2024-11-07 18:55:47 -0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-11-12 23:19:50 +0000
commit7c78f4ef96020b702c027d179895c9f97179b4fc (patch)
tree0fe52377c5cd29216d0b6323c01668458583d68a /recipes-extended/xen/xen-tools_4.15.bb
parent7bba250fd35409339c4349cc4fb82fe5a47ea872 (diff)
downloadmeta-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/xen-tools_4.15.bb')
0 files changed, 0 insertions, 0 deletions