From 37acc030ef06cf228e48b200d88d68e588f61673 Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Tue, 22 Sep 2020 16:26:50 -0400 Subject: [PATCH] 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 --- tools/packaging/static-build/qemu-virtiofs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packaging/static-build/qemu-virtiofs/Dockerfile b/tools/packaging/static-build/qemu-virtiofs/Dockerfile index 2a906d6945..399df608cc 100644 --- a/tools/packaging/static-build/qemu-virtiofs/Dockerfile +++ b/tools/packaging/static-build/qemu-virtiofs/Dockerfile @@ -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:"