Edit firstboot.json to enable/disable auto_expand and recompile miners on first boot. ("true" or "false")
You can set auto_expand to "true" or "false" depending on your choice, while recompile_miners can be either "false" if you do not intend to let any miner be recompiled during first image boot, or a list of miners do you want to recompile, written in the same way as you are used to do with the nvOC_update_miner.sh. For exampt recompile_miners:"7 U" will recompile TPccminer(7) and SUPPRminer(U), recompile_miners:"A" will recompile all(A) miners. The letter/number associated to each recompilable miner depends on the latest nvOC_miner_update.sh script you find in the nvOC_miners repository on GitHub.
Exactly, enter the nvOC_Miner_Update.sh script choice menu in the readme because I was caught in a loop that asked me to choose at first boot.
I VOLUNTARILY chose to recompile ALL of the software on my machine to check if the mining software update script runs well and does the job properly.
On the other hand, it seems that there are problems to clone and compile some mining software. I copied below extracts from the log displayed in terminal console that is displayed after reboot.
Sun Jul 8 08:12:36 MST 2018 - nvOC FirstBoot start
+ Looking for the small fat partition
/media/m1/12D3-A869 is a mountpoint
+ Parsing firstboot.json
++ selected branch: 'release'
++ nvOC will install to: '/home/m1/NVOC/mining'
+ Wait for internet connection to continue nvOC setup
Connection to google.com 443 port [tcp/https] succeeded!
+ Cloning 'release' nvOC branch into /home/m1/NVOC/mining
++ Checking if selected branch actually exists...
0a8378ceb49c778f19134af18f421dba7f42ace3 refs/heads/release
++ /home/m1/NVOC/mining already exists, cleaning up
Cloning into '/home/m1/NVOC/mining'...
remote: Counting objects: 40, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 40 (delta 7), reused 15 (delta 1), pack-reused 0
Checking connectivity... done.
+ Updating miners submodule
++ No cache found in /home/m1/.miners-cache
Submodule 'miners' (https://github.com/papampi/nvOC_miners.git) registered for path 'miners'
Cloning into 'miners'...
Submodule path 'miners': checked out 'ee963aa25b6b8d4f8299a2d5f13749fc6bdee498'
+ Checking free space
++ Available free space in root partition: 178460508 KB
+ Installing miners (recompile: A)
~/NVOC/mining/miners ~
Updating miners for nvOC V0019-2.1
Will check and restart miner if needed
Checking Equihash DSTM zm miner 0.6.1
cat: /home/m1/NVOC/mining/miners/dstm/latest/version: No such file or directory
Extracting DSTM zm miner
Checking Z-Enemy 1.10
cat: /home/m1/NVOC/mining/miners/ZENEMYminer/version: No such file or directory
Extracting z-enemy
Checking xmr-stak 2.4.4
cat: /home/m1/NVOC/mining/miners/xmr-stak/version: No such file or directory
Extracting xmr-stak
Checking Silent Miner 1.1.0
cat: /home/m1/NVOC/mining/miners/SILENTminer/version: No such file or directory
Extracting Silent Miner
Checking Claymore v11.8
cat: /home/m1/NVOC/mining/miners/claymore/latest/version: No such file or directory
Extracting Claymore
Checking SP Mod ccminer-1.8.2
cat: /home/m1/NVOC/mining/miners/SPccminer/version: No such file or directory
Extracting SPccminer
Checking alexis ccminer
cat: /home/m1/NVOC/mining/miners/ASccminer/version: No such file or directory
Extracting ASccminer
Checking Krnlx ccminer
cat: /home/m1/NVOC/mining/miners/KXccminer/version: No such file or directory
Extracting KXccminer
Checking Tpruvot ccminer-2.2.5
cat: /home/m1/NVOC/mining/miners/TPccminer/version: No such file or directory
Extracting Tpruvot
Checking KlausT ccminer 8.20
cat: /home/m1/NVOC/mining/miners/KTccminer/version: No such file or directory
Extracting Klaust ccminer
Checking Vertminer v1.0-stable.2 Release
cat: /home/m1/NVOC/mining/miners/vertminer/version: No such file or directory
Extracting vertminer
Checking nanashi-ccminer-2.2-mod-r2
cat: /home/m1/NVOC/mining/miners/NAccminer/version: No such file or directory
Extracting nanashi ccminer
Checking Ethminer 0.14.0
cat: /home/m1/NVOC/mining/miners/ethminer/latest/version: No such file or directory
Extracting and making changes for Ethminer
Checking KTccminer-cryptonight v2.06
cat: /home/m1/NVOC/mining/miners/KTccminer-cryptonight/version: No such file or directory
Extracting KTccminer-cryptonight
Checking Equihash Bminer 8.0.0
cat: /home/m1/NVOC/mining/miners/bminer/latest/version: No such file or directory
Extracting Bminer
Checking ANXccminer (git@cd6fab68823e247bb84dd1fa0448d5f75ec4917d)
cat: /home/m1/NVOC/mining/miners/ANXccminer/version: No such file or directory
Extracting ANXccminer
Checking MSFT Tpruvot ccminer-2.2.5 (RVN)
cat: /home/m1/NVOC/mining/miners/MSFTccminer/version: No such file or directory
Extracting MSFT Tpruvot ccminer
Checking SUPRminer 1.5
cat: /home/m1/NVOC/mining/miners/SUPRminer/version: No such file or directory
Extracting SUPRminer
Checking cpuminer-opt
cat: /home/m1/NVOC/mining/miners/cpuOPT/version: No such file or directory
Extracting cpuminer
Extracting and checking new miners for nvOC-v0019-2.x finished
Do you want to re-compile your miners (y/N)?
Checking if bn.h bignum error is fixed for compiling miners or not
bn.h openssl already fixed for compiling miners
Select miners to compile (multiple comma separated values: 1,6,7)
1 - ASccminer
2 - KTccminer
3 - KTccminer-cryptonight
4 - KXccminer
5 - NAccminer
6 - SPccminer
7 - TPccminer
8 - vertminer
9 - ANXccminer
C - cpuminer
R - MSFTccminer (RVN)
U - SUPRminer
X - xmr-stak
ALL
Compiling alexis ccminer
ccminer.cpp:45:26: fatal error: cuda_runtime.h: No such file or directory
compilation terminated.
Makefile:1398: recipe for target 'ccminer-ccminer.o' failed
make[2]: *** [ccminer-ccminer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/ccminer-bench.Tpo .deps/ccminer-bench.Po
api.cpp: In function ‘void gpuhwinfos(int)’:
api.cpp:286:31: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint32_t {aka unsigned int}’ [-Wformat=]
cgpu->gpu_sn, cgpu->gpu_desc);
^
api.cpp:286:31: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint32_t {aka unsigned int}’ [-Wformat=]
mv -f .deps/ccminer-pools.Tpo .deps/ccminer-pools.Po
mv -f .deps/ccminer-api.Tpo .deps/ccminer-api.Po
mv -f .deps/ccminer-util.Tpo .deps/ccminer-util.Po
mv -f .deps/ccminer-bignum.Tpo .deps/ccminer-bignum.Po
make[2]: Leaving directory '/home/m1/NVOC/mining/miners/ASccminer/src'
Makefile:1558: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/m1/NVOC/mining/miners/ASccminer/src'
Makefile:545: recipe for target 'all' failed
make: *** [all] Error 2
cp: cannot stat '/home/m1/NVOC/mining/miners/ASccminer/src/ccminer': No such file or directory
Finished compiling alexis ccminer
Compiling Vertminer
This could take a while ...
Submodule 'vertminer/src' (https://github.com/vertcoin-project/vertminer-nvidia) registered for path 'src'
Cloning into 'vertminer/src'...
fatal: reference is not a tree: 48b170a5828256600ca71e66d4c114af4e114236
Unable to checkout '48b170a5828256600ca71e66d4c114af4e114236' in submodule path 'src'
Update from shallow clone failed, reinit and fetching old commits...
From https://github.com/vertcoin-project/vertminer-nvidia
* [new tag] v1.0-beta.1 -> v1.0-beta.1
* [new tag] v1.0-beta.6 -> v1.0-beta.6
* [new tag] v1.0-beta.7 -> v1.0-beta.7
* [new tag] v1.0-stable.0 -> v1.0-stable.0
* [new tag] v1.0-stable.1 -> v1.0-stable.1
fatal: reference is not a tree: 48b170a5828256600ca71e66d4c114af4e114236
Unable to checkout '48b170a5828256600ca71e66d4c114af4e114236' in submodule path 'src'
bash: /home/m1/NVOC/mining/miners/vertminer/src/autogen.sh: No such file or directory
bash: /home/m1/NVOC/mining/miners/vertminer/src/configure: No such file or directory
bash: /home/m1/NVOC/mining/miners/vertminer/src/build.sh: No such file or directory
cp: cannot stat '/home/m1/NVOC/mining/miners/vertminer/src/vertminer': No such file or directory
/home/m1/NVOC/mining/miners/ANXccminer/src/build.sh: line 11: ./autogen.sh: Permission denied
done
/home/m1/NVOC/mining/miners/ANXccminer/src/build.sh: line 14: ./configure.sh: Permission denied
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat '/home/m1/NVOC/mining/miners/ANXccminer/src/ccminer': No such file or directory
Finished compiling anorganix ccminer
Would it be possible to have the compilation results in a log file specifically for this recompilation of mining software?
Is there a functional check or operational check of all mining software after automated recompilation?
The recompilations of all the software took about 1h15 on my machine, but it is also necessary to know that some recompliations have aborted and that the software is not operational.
On wet finger, I think it should warn the user that the recompilation of all minning software will take about 90 to 120 minutes
When the recompilations are completed, it starts again in a loop by dragging the choice by interaction with the user.
If I close and restart the console, then it resumes the synchonization of the papampi gihub nvOC_Miners repository.
Same thing if I restart the system.
Translated from French with Google translation