mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Changes needed to get the arm and arm64 builds working
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -6,8 +6,8 @@ RUN apt-get update && apt-get install -y parted git gcc make autoconf
|
||||
|
||||
RUN mkdir -p /usr/local/src && \
|
||||
cd /usr/local/src && \
|
||||
git clone https://git.linaro.org/people/takahiro.akashi/kexec-tools.git && \
|
||||
cd kexec-tools && git checkout kdump/for-14 && ./bootstrap && ./configure && make && make install
|
||||
git clone -b kdump/v0.14 https://git.linaro.org/people/takahiro.akashi/kexec-tools.git && \
|
||||
cd kexec-tools && ./bootstrap && ./configure && make && make install
|
||||
|
||||
COPY conf lay-down-os seed-data set-disk-partitions /scripts/
|
||||
COPY ./build/vmlinuz /dist/vmlinuz
|
||||
|
@@ -18,5 +18,8 @@ export VERSION COMMIT
|
||||
# Suffix
|
||||
export SUFFIX=""
|
||||
if [ -n "${ARCH}" ] && [ "${ARCH}" != "amd64" ]; then
|
||||
# TODO: why is this not exported?
|
||||
SUFFIX="_${ARCH}"
|
||||
fi
|
||||
|
||||
echo " Building ${VERSION} from ${COMMIT} on ${ARCH}"
|
||||
|
Reference in New Issue
Block a user