[1/2] panfrost: ci: Switch to kernel 5.2-rc1

Submitted by Tomeu Vizoso on May 20, 2019, 9:33 a.m.

Details

Message ID 20190520093326.11270-1-tomeu.vizoso@collabora.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Tomeu Vizoso May 20, 2019, 9:33 a.m.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
---
 src/gallium/drivers/panfrost/ci/Dockerfile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/gallium/drivers/panfrost/ci/Dockerfile b/src/gallium/drivers/panfrost/ci/Dockerfile
index 268edf224a20..8c4a4e0444ec 100644
--- a/src/gallium/drivers/panfrost/ci/Dockerfile
+++ b/src/gallium/drivers/panfrost/ci/Dockerfile
@@ -112,12 +112,11 @@  ARG KERNEL_ARCH
 ARG DEFCONFIG
 ARG DEVICE_TREES
 ARG KERNEL_IMAGE_NAME
-# TODO: Switch to 5.2-rc* when the time comes
+ENV KERNEL_URL="https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux/+archive/refs/tags/v5.2-rc1.tar.gz"
+
 COPY ${KERNEL_ARCH}.config /panfrost-ci/
 RUN mkdir -p /kernel                                                                   && \
-  wget https://github.com/freedesktop/drm-misc/archive/drm-misc-next-2019-04-18.tar.gz && \
-  tar xfz drm-misc-next-2019-04-18.tar.gz -C /kernel --strip-components=1              && \
-  rm drm-misc-next-2019-04-18.tar.gz                                                   && \
+  wget -qO- ${KERNEL_URL} | tar -xvz -C /kernel                                        && \
   cd /kernel                                                                           && \
   ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" ./scripts/kconfig/merge_config.sh ${DEFCONFIG} /panfrost-ci/${KERNEL_ARCH}.config && \
   ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" make -j12 ${KERNEL_IMAGE_NAME} dtbs && \

Comments

Both patches are A-b, thank you! :)
On 5/20/19 11:33 AM, Tomeu Vizoso wrote:
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
> ---
>  src/gallium/drivers/panfrost/ci/Dockerfile | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/src/gallium/drivers/panfrost/ci/Dockerfile b/src/gallium/drivers/panfrost/ci/Dockerfile
> index 268edf224a20..8c4a4e0444ec 100644
> --- a/src/gallium/drivers/panfrost/ci/Dockerfile
> +++ b/src/gallium/drivers/panfrost/ci/Dockerfile
> @@ -112,12 +112,11 @@ ARG KERNEL_ARCH
>  ARG DEFCONFIG
>  ARG DEVICE_TREES
>  ARG KERNEL_IMAGE_NAME
> -# TODO: Switch to 5.2-rc* when the time comes
> +ENV KERNEL_URL="https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux/+archive/refs/tags/v5.2-rc1.tar.gz"

What's wrong with
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-5.2-rc1.tar.gz
?

Eduardo

> +
>  COPY ${KERNEL_ARCH}.config /panfrost-ci/
>  RUN mkdir -p /kernel                                                                   && \
> -  wget https://github.com/freedesktop/drm-misc/archive/drm-misc-next-2019-04-18.tar.gz && \
> -  tar xfz drm-misc-next-2019-04-18.tar.gz -C /kernel --strip-components=1              && \
> -  rm drm-misc-next-2019-04-18.tar.gz                                                   && \
> +  wget -qO- ${KERNEL_URL} | tar -xvz -C /kernel                                        && \
>    cd /kernel                                                                           && \
>    ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" ./scripts/kconfig/merge_config.sh ${DEFCONFIG} /panfrost-ci/${KERNEL_ARCH}.config && \
>    ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" make -j12 ${KERNEL_IMAGE_NAME} dtbs && \
>
On Fri, 7 Jun 2019 at 09:51, Eduardo Lima Mitev <elima@igalia.com> wrote:
>
> On 5/20/19 11:33 AM, Tomeu Vizoso wrote:
> > Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
> > ---
> >  src/gallium/drivers/panfrost/ci/Dockerfile | 7 +++----
> >  1 file changed, 3 insertions(+), 4 deletions(-)
> >
> > diff --git a/src/gallium/drivers/panfrost/ci/Dockerfile b/src/gallium/drivers/panfrost/ci/Dockerfile
> > index 268edf224a20..8c4a4e0444ec 100644
> > --- a/src/gallium/drivers/panfrost/ci/Dockerfile
> > +++ b/src/gallium/drivers/panfrost/ci/Dockerfile
> > @@ -112,12 +112,11 @@ ARG KERNEL_ARCH
> >  ARG DEFCONFIG
> >  ARG DEVICE_TREES
> >  ARG KERNEL_IMAGE_NAME
> > -# TODO: Switch to 5.2-rc* when the time comes
> > +ENV KERNEL_URL="https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux/+archive/refs/tags/v5.2-rc1.tar.gz"
>
> What's wrong with
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-5.2-rc1.tar.gz
> ?

Nothing that I know, I just went with what I found first.

Cheers,

Tomeu

> Eduardo
>
> > +
> >  COPY ${KERNEL_ARCH}.config /panfrost-ci/
> >  RUN mkdir -p /kernel                                                                   && \
> > -  wget https://github.com/freedesktop/drm-misc/archive/drm-misc-next-2019-04-18.tar.gz && \
> > -  tar xfz drm-misc-next-2019-04-18.tar.gz -C /kernel --strip-components=1              && \
> > -  rm drm-misc-next-2019-04-18.tar.gz                                                   && \
> > +  wget -qO- ${KERNEL_URL} | tar -xvz -C /kernel                                        && \
> >    cd /kernel                                                                           && \
> >    ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" ./scripts/kconfig/merge_config.sh ${DEFCONFIG} /panfrost-ci/${KERNEL_ARCH}.config && \
> >    ARCH=${KERNEL_ARCH} CROSS_COMPILE="${GCC_ARCH}-" make -j12 ${KERNEL_IMAGE_NAME} dtbs && \
> >
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev