Skip to content

Commit

Permalink
refactor!: remove rndaddentropy tool
Browse files Browse the repository at this point in the history
  • Loading branch information
edubart committed Jul 27, 2023
1 parent 8bf90a4 commit 3789984
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ RUN mkdir -p ${BUILD_BASE}linux-sources && \
make -C ${BUILD_BASE}linux-sources headers_install INSTALL_HDR_PATH=/usr && \
rm ${BUILD_BASE}${LINUX_SOURCES_FILEPATH}

# copy & extract rndaddentropy
# ------------------------------------------------------------------------------
COPY ${RNDADDENTROPY_FILEPATH} ${BUILD_BASE}${RNDADDENTROPY_FILEPATH}
RUN mkdir -p ${BUILD_BASE}/twuewand && \
tar xf ${BUILD_BASE}${RNDADDENTROPY_FILEPATH} \
--strip-components=1 -C ${BUILD_BASE}twuewand && \
rm ${BUILD_BASE}${RNDADDENTROPY_FILEPATH}

RUN cd ${BUILD_BASE}twuewand/rndaddentropy/ && \
make all CFLAGS="-O2 -Wno-error" && \
strip rndaddentropy

# copy tools
COPY linux/ ${BUILD_BASE}tools/linux/

Expand Down Expand Up @@ -70,7 +58,6 @@ ARG MACHINE_EMULATOR_TOOLS_TAR_GZ=machine-emulator-tools.tar.gz

COPY skel/ ${STAGING_BASE}
RUN mkdir -p ${STAGING_BIN} && \
cp ${BUILD_BASE}twuewand/rndaddentropy/rndaddentropy ${STAGING_BIN} && \
cp ${BUILD_BASE}tools/linux/htif/yield ${STAGING_BIN} && \
cp ${BUILD_BASE}tools/linux/rollup/ioctl-echo-loop/ioctl-echo-loop ${STAGING_BIN} && \
cp ${BUILD_BASE}tools/linux/rollup/rollup/rollup ${STAGING_BIN} && \
Expand Down

0 comments on commit 3789984

Please sign in to comment.