From 0a9e02ed28bf64462a8fdba9b5331b1f499724ac Mon Sep 17 00:00:00 2001 From: jinqiang zhang Date: Mon, 19 Dec 2022 15:10:40 +0000 Subject: [PATCH] Dockerfile: checkout kernel commit in correct workdir In the lastest commit d6623b98, forget to enter linux directory before checkout ${KERNEL_COMMIT}, now fix it. Signed-off-by: jinqiang zhang --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6e033d8..378d079 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,6 +48,7 @@ ARG KERNEL_COMMIT RUN apt-get install -y cpio # Required for kernel build WORKDIR /build RUN git clone --depth 1 --branch ${KERNEL_TAG} https://github.com/smaeul/linux +WORKDIR /build/linux RUN git checkout ${KERNEL_COMMIT} WORKDIR /build/linux/drivers/net/wireless RUN git clone --depth 1 https://github.com/YuzukiHD/Xradio-XR829.git