Skip to content

Commit b6d49f9

Browse files
committed
fix(virt-handler): import full qemu-bins directory and add qemu-img binary
Import /qemu-bins instead of /qemu-img from the qemu image to include all necessary QEMU binaries. Add /usr/bin/qemu-img to the binaries list and change import phase from "after: setup" to "before: setup" to ensure binaries are available during the setup phase. Signed-off-by: Aleksandr Pinegin <aleksandr.pinegin@flant.com>
1 parent e23283c commit b6d49f9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

images/virt-handler/werf.inc.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ binaries:
6868
- /usr/bin/osirrox
6969
- /usr/bin/xorriso-dd-target
7070
- /usr/bin/xorrisofs
71+
- /usr/bin/qemu-img
7172
packages:
7273
- libisoburn nftables acl libmnl libjansson4 libnftnl
7374
- glibc libattr pcre2 selinux
@@ -91,9 +92,9 @@ import:
9192
- bin/umount
9293
{{- include "importPackageImages" (list . $builderDependencies.packages "install") -}}
9394
- image: {{ .ModuleNamePrefix }}qemu
94-
add: /qemu-img
95+
add: /qemu-bins
9596
to: /relocate
96-
after: setup
97+
before: setup
9798
shell:
9899
install:
99100
- |

0 commit comments

Comments
 (0)