mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
static-build/qemu-virtiofs: Fix to apply QEMU patches
Fix a bug on qemu-virtiofs Dockerfile which end up not applying the QEMU patches. Fixes #786 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
1c1b4c9c43
commit
edce2712cd
@ -60,7 +60,7 @@ RUN cat patches_virtiofs
|
||||
RUN [ ! -s patches_virtiofs ] || git apply $(cat patches_virtiofs)
|
||||
|
||||
RUN cat VERSION | awk 'BEGIN{FS=OFS="."}{print $1 "." $2 ".x"}' > stable_branch
|
||||
RUN echo "root/kata_qemu_patches/$(cat stable_branch)/" > patches_qemu_dir
|
||||
RUN echo "/root/kata_qemu_patches/$(cat stable_branch)/" > patches_qemu_dir
|
||||
RUN echo "patches dir $(cat patches_qemu_dir)"
|
||||
RUN find "$(cat patches_qemu_dir)" -name '*.patch' -type f |sort -t- -k1,1n > patches_qemu
|
||||
RUN echo "Patches to apply for qemu:"
|
||||
|
Loading…
Reference in New Issue
Block a user