Build bundle-hacker-{version}.hex
This commit is contained in:

committed by
Nicolas Stalder

parent
ff5207ba77
commit
5859073cb8
@@ -24,8 +24,10 @@ RUN echo "e5e5b4cd2a918e0e96b395534222773f7241dc59d776db1b9f7fedfcb489157a mini
|
|||||||
RUN sha256sum -c miniconda.sha256
|
RUN sha256sum -c miniconda.sha256
|
||||||
|
|
||||||
RUN bash ./miniconda.sh -b -p /opt/conda
|
RUN bash ./miniconda.sh -b -p /opt/conda
|
||||||
RUN ln -s /opt/conda/bin/python3 /usr/local/bin/python3
|
RUN ln -s /opt/conda/bin/python /usr/local/bin/python3
|
||||||
RUN ln -s /opt/conda/bin/python3 /usr/local/bin/python
|
RUN ln -s /opt/conda/bin/python /usr/local/bin/python
|
||||||
|
RUN ln -s /opt/conda/bin/pip /usr/local/bin/pip3
|
||||||
|
RUN ln -s /opt/conda/bin/pip /usr/local/bin/pip
|
||||||
|
|
||||||
# 3. Source code
|
# 3. Source code
|
||||||
RUN git clone --recurse-submodules https://github.com/solokeys/solo /solo --config core.autocrlf=input
|
RUN git clone --recurse-submodules https://github.com/solokeys/solo /solo --config core.autocrlf=input
|
||||||
|
@@ -35,3 +35,10 @@ build bootloader nonverifying
|
|||||||
build bootloader verifying
|
build bootloader verifying
|
||||||
build firmware hacker solo
|
build firmware hacker solo
|
||||||
build firmware secure solo
|
build firmware secure solo
|
||||||
|
|
||||||
|
pip install -U pip
|
||||||
|
pip install -U solo-python
|
||||||
|
cd ${out_dir}
|
||||||
|
bundle="bundle-hacker-${version}"
|
||||||
|
/opt/conda/bin/solo mergehex bootloader-nonverifying-${version}.hex firmware-hacker-${version}.hex ${bundle}.hex
|
||||||
|
sha256sum ${bundle}.hex > ${bundle}.sha2
|
||||||
|
Reference in New Issue
Block a user