Re: [Xen-devel] [RFC PATCH 1/6] ci: add Dockerfile for CentOS 7.2
Hi Doug, On 03/13/2018 03:48 PM, Doug Goldstein wrote: On 3/13/18 9:52 AM, Julien Grall wrote: Hi Doug, On 13/03/18 03:31, Doug Goldstein wrote: +# work around https://github.com/moby/moby/issues/10180 +# and install Xen depends +RUN rpm --rebuilddb && \ + yum -y install \ + yum-plugin-ovl \ + gcc \ + gcc-c++ \ + ncurses-devel \ + zlib-devel \ + openssl-devel \ + python-devel \ + libuuid-devel \ + pkgconfig \ + gettext \ + flex \ + bison \ + libaio-devel \ + glib2-devel \ + yajl-devel \ + pixman-devel \ + glibc-devel \ + glibc-devel.i686 \ This looks fairly x86. Do you have any plan to add arm support? In any case, the README should explain what architectures are supported. Cheers, Yes it definitely x86. I plan on adding ARM support I just haven't had enough time to gather up what the dependencies need to be. Since its going to be a cross compile environment I need to take the time to setup one. Do you have a recommendation? I'm sure there are docs I just haven't looked at them. To summarize what was said on IRC, I would recommend to use QEMU user-emulation instead. Stefano mentioned he was working on it and will send an e-mail about it. Cheers, -- Julien Grall ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [RFC PATCH 1/6] ci: add Dockerfile for CentOS 7.2
Hi Doug, On 13/03/18 03:31, Doug Goldstein wrote: +# work around https://github.com/moby/moby/issues/10180 +# and install Xen depends +RUN rpm --rebuilddb && \ +yum -y install \ +yum-plugin-ovl \ +gcc \ +gcc-c++ \ +ncurses-devel \ +zlib-devel \ +openssl-devel \ +python-devel \ +libuuid-devel \ +pkgconfig \ +gettext \ +flex \ +bison \ +libaio-devel \ +glib2-devel \ +yajl-devel \ +pixman-devel \ +glibc-devel \ +glibc-devel.i686 \ This looks fairly x86. Do you have any plan to add arm support? In any case, the README should explain what architectures are supported. Cheers, -- Julien Grall ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel
[Xen-devel] [RFC PATCH 1/6] ci: add Dockerfile for CentOS 7.2
Added a Dockerfile which captures all the necessary dependencies to build Xen on a CentOS 7.2 system. Signed-off-by: Doug Goldstein--- extras/testing/centos/CentOS-7.2.repo | 35 - extras/testing/centos/Dockerfile.7.2 | 41 - 2 files changed, 76 insertions(+) create mode 100644 extras/testing/centos/CentOS-7.2.repo create mode 100644 extras/testing/centos/Dockerfile.7.2 diff --git a/extras/testing/centos/CentOS-7.2.repo b/extras/testing/centos/CentOS-7.2.repo new file mode 100644 index 000..4da27fa --- /dev/null +++ b/extras/testing/centos/CentOS-7.2.repo @@ -0,0 +1,35 @@ +# CentOS-Base.repo +# +# This is a replacement file that pins things to just use CentOS 7.2 +# from the CentOS Vault. +# + +[base] +name=CentOS-7.2.1511 - Base +baseurl=http://vault.centos.org/7.2.1511/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-7.2.1511 - Updates +baseurl=http://vault.centos.org/7.2.1511/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-7.2.1511 - Extras +baseurl=http://vault.centos.org/7.2.1511/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-7.2.1511 - Plus +baseurl=http://vault.centos.org/7.2.1511/centosplus/$basearch/ +gpgcheck=1 +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + diff --git a/extras/testing/centos/Dockerfile.7.2 b/extras/testing/centos/Dockerfile.7.2 new file mode 100644 index 000..40780b4 --- /dev/null +++ b/extras/testing/centos/Dockerfile.7.2 @@ -0,0 +1,41 @@ +FROM centos:7.2.1511 +LABEL maintainer.name="Doug Goldstein" \ + maintainer.email="car...@cardoe.com" + +# ensure we only get bits from the vault for +# the version we want +COPY CentOS-7.2.repo /etc/yum.repos.d/CentOS-Base.repo + +RUN mkdir /build +WORKDIR /build + +# work around https://github.com/moby/moby/issues/10180 +# and install Xen depends +RUN rpm --rebuilddb && \ +yum -y install \ +yum-plugin-ovl \ +gcc \ +gcc-c++ \ +ncurses-devel \ +zlib-devel \ +openssl-devel \ +python-devel \ +libuuid-devel \ +pkgconfig \ +gettext \ +flex \ +bison \ +libaio-devel \ +glib2-devel \ +yajl-devel \ +pixman-devel \ +glibc-devel \ +glibc-devel.i686 \ +make \ +binutils \ +git \ +wget \ +acpica-tools \ +python-markdown \ +patch \ +&& yum clean all -- git-series 0.9.1 ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel