diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-10 13:12:51 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-16 15:22:30 +1100 |
commit | 2ca064df7da39ad5009b46e1ddeddabf8ff17a08 (patch) | |
tree | 8e5aadeb08d981517aca19c60f15e5eeb8e41074 /opal-ci/Dockerfile-centos7 | |
parent | 0e386883f797ee6fd7023ba24329cb115014973b (diff) | |
download | skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.zip skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.tar.gz skiboot-2ca064df7da39ad5009b46e1ddeddabf8ff17a08.tar.bz2 |
hdata_to_dt: Only output dtb
convert test cases to diff DTS rather than DTB.
This means we also have to build dtc on CentOS 7 to be able to run
the test suite.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
[oohall@gmail.com moved the test cases into seperate patches]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'opal-ci/Dockerfile-centos7')
-rw-r--r-- | opal-ci/Dockerfile-centos7 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/opal-ci/Dockerfile-centos7 b/opal-ci/Dockerfile-centos7 index 1f4d829..1708a74 100644 --- a/opal-ci/Dockerfile-centos7 +++ b/opal-ci/Dockerfile-centos7 @@ -1,6 +1,6 @@ FROM centos:7 RUN yum -y update && yum clean all -RUN yum -y install wget curl xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel ccache +RUN yum -y install wget curl xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel ccache dtc RUN wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz RUN mkdir /opt/cross RUN tar -C /opt/cross -xf x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz @@ -8,6 +8,9 @@ RUN curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v RUN yum install -y systemsim-p8-1.0-2.el7.x86_64.rpm RUN curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.0-0/systemsim-p9-1.0-0.el7.x86_64.rpm RUN yum install -y systemsim-p9-1.0-0.el7.x86_64.rpm +RUN yum install -y flex bison +RUN curl -L https://github.com/dgibson/dtc/archive/v1.4.2.tar.gz|tar xfz - +RUN (cd dtc-1.4.2; make PREFIX=/usr/local install) COPY . /build/ WORKDIR /build ENTRYPOINT ./opal-ci/build-centos7.sh |