From 99659db10a940881b1cc49b45bee40f2f8ba31d8 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 29 Oct 2022 01:01:06 +0200 Subject: [PATCH] text --- docker/fedora-34/Dockerfile | 6 +++++- docker/fedora-34/README.md | 20 +++++++++++++++++--- docker/fedora-34/docker_run.sh | 2 +- docker/opensuse-leap/README.md | 20 ++++++++++++++++++-- docker/opensuse-tumbleweed/README.md | 20 +++++++++++++++++++- 5 files changed, 60 insertions(+), 8 deletions(-) diff --git a/docker/fedora-34/Dockerfile b/docker/fedora-34/Dockerfile index 444b5b195..90765a515 100644 --- a/docker/fedora-34/Dockerfile +++ b/docker/fedora-34/Dockerfile @@ -2,7 +2,11 @@ FROM fedora:34 ENV LANG C # qt5-qtbase-devel skipped -RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel bluez-libs-devel python3-devel openssl-devel libatomic +RUN dnf install -y passwd sudo git make gcc gcc-c++ arm-none-eabi-gcc-cs arm-none-eabi-newlib readline-devel bzip2-devel bluez-libs-devel python3-devel openssl-devel libatomic findutils + +RUN yum -y update +RUN yum -y install cmake python-pip +RUN python3 -m pip install ansicolors sslcrypto # Create rrg user RUN useradd -ms /bin/bash rrg diff --git a/docker/fedora-34/README.md b/docker/fedora-34/README.md index 5fccbba41..7930f99d0 100644 --- a/docker/fedora-34/README.md +++ b/docker/fedora-34/README.md @@ -1,12 +1,26 @@ +# Notes on run_tests.sh script +This script does both strip the "recover_pk test" in pm3_tests.sh and then run a +bunch of different builds with make and cmake together with the different combos +of RDV4, GENERIC, BTADDON combos. + +If all tests OK, the script will finish. + + # Notes to run tests +The script is to be run in proxmark root folder inside the docker env. + +``` +docker/fedora-34/run_tests.sh; +``` + +Or if you want to run single test, ``` sudo yum -y update -sudo yum -y install cmake python-pip -python3 -m pip install ansicolors sslcrypto +make clean; make -j tools/pm3_tests.sh --long ``` Warning, `recover_pk selftests` will fail on Fedora because they stripped down the available ECC curves in their OpenSSL. -So just comment the "recover_pk test" +So just comment the "recover_pk test" \ No newline at end of file diff --git a/docker/fedora-34/docker_run.sh b/docker/fedora-34/docker_run.sh index 6fbb2e6a9..4be59d2c5 100755 --- a/docker/fedora-34/docker_run.sh +++ b/docker/fedora-34/docker_run.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -it pm3-fedora-34:1.0 +docker run --volume=$(pwd)/../..:/home/rrg/proxmark3 -w /home/rrg/proxmark3 -it pm3-fedora-34:1.0 diff --git a/docker/opensuse-leap/README.md b/docker/opensuse-leap/README.md index 5ffab9127..47a3b5c32 100644 --- a/docker/opensuse-leap/README.md +++ b/docker/opensuse-leap/README.md @@ -1,8 +1,24 @@ -# Notes to run tests +# Notes on run_tests.sh script +This script does both setup and then run a +bunch of different builds with make and cmake together with the different combos +of RDV4, GENERIC, BTADDON combos. -No ARM compiler available ? +If all tests OK, the script will finish. + + +# Notes to run tests +The script is to be run in proxmark root folder inside the docker env. + +``` +docker/opensuse-leap/run_tests.sh; +``` + +Or if you want to run single test, ``` make clean; make -j tools/pm3_tests.sh --long mfkey nonce2key mf_nonce_brute fpga_compress common client ``` + + +No ARM compiler available ? diff --git a/docker/opensuse-tumbleweed/README.md b/docker/opensuse-tumbleweed/README.md index 00af06436..126042512 100644 --- a/docker/opensuse-tumbleweed/README.md +++ b/docker/opensuse-tumbleweed/README.md @@ -1,6 +1,24 @@ +# Notes on run_tests.sh script +This script does both setup and then run a +bunch of different builds with make and cmake together with the different combos +of RDV4, GENERIC, BTADDON combos. + +If all tests OK, the script will finish. + + # Notes to run tests +The script is to be run in proxmark root folder inside the docker env. + +``` +docker/opensuse-tumbleweed/run_tests.sh; +``` + +Or if you want to run single test, ``` make clean; make -j -tools/pm3_tests.sh --long +tools/pm3_tests.sh --long mfkey nonce2key mf_nonce_brute fpga_compress common client ``` + + +No ARM compiler available ?