mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
snap: Package virtiofsd and fix path
This contain to fixes for the virtiofsd on snap: * removed the "-/usr/libexec" so that virtiofsd is copied to prime * The configuration.toml expects virtiofsd in /usr/libexec/kata-qemu so it should be passed "kata-qemu" to configure_hypervisor.sh script and it wil configure to install the executable onto the right directory. Fixes #1238 Depends-on: github.com/kata-containers/kata-containers#1349 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
6e496941a5
commit
224c50f420
@ -278,7 +278,7 @@ parts:
|
||||
chmod +x ${configure_hypervisor}
|
||||
# static build. The --prefix, --libdir, --libexecdir, --datadir arguments are
|
||||
# based on PREFIX and set by configure-hypervisor.sh
|
||||
echo "$(PREFIX=/snap/${SNAPCRAFT_PROJECT_NAME}/current/usr ${configure_hypervisor} -s qemu) \
|
||||
echo "$(PREFIX=/snap/${SNAPCRAFT_PROJECT_NAME}/current/usr ${configure_hypervisor} -s kata-qemu) \
|
||||
--disable-rbd " \
|
||||
| xargs ./configure
|
||||
|
||||
@ -294,7 +294,6 @@ parts:
|
||||
- -usr/bin/qemu-pr-helper
|
||||
- -usr/bin/virtfs-proxy-helper
|
||||
- -usr/include/
|
||||
- -usr/libexec/
|
||||
- -usr/share/applications/
|
||||
- -usr/share/icons/
|
||||
- -usr/var/
|
||||
|
Loading…
Reference in New Issue
Block a user