![]() |
Open Source and reproducible image build - Printable Version +- HomSpace Forum (https://homspace.nl/forum) +-- Forum: SamplerBox (https://homspace.nl/forum/forum-1.html) +--- Forum: Community (https://homspace.nl/forum/forum-2.html) +--- Thread: Open Source and reproducible image build (/thread-161.html) |
Open Source and reproducible image build - DaZang - 12-06-25 Hi Hans, amazing project you have here! I can tell from the sources and the documentation that a lot of love went into this one. Thanks! I just got it to run on my Raspberry Pi 2 with Arturial Minilab MK II and Focusrie scarlett 2i2 3rd gen (still with a little latency though). On the one hand I installed the prebuild image (20220206) from the website on my pi, on the other hand i am still a little hesitant to enter my wifi password, add it to my network to use the web UI as i could not find the sources and build script for the distributed image. The kind of abandoned samplerbox fork by alexmacrea has this shell script to build the ISO image yourself. Have i just looked in the wrong places or is there a reason why I can't find something similar to build the image myself in https://github.com/hansehv/SamplerBox/tree/master ? From the FAQ about latency I understood that i can also run your scripts on a different distribution but that this might introduce more latency as the distributed image is build in a very slim way compared to other distributions. I think it's important for all open source projects to include all the sources to create the "final" product so e.g. if the project may be abandoned in the future or the author is unavailable other people could easily continue or fork it. Could you please point me in the right direction or is there a way that you could add the sources, scripts or a reproducible build for the image? Also to make it more trustworthy for other newbies who find this website and want to try your image. Thanks a lot! David RE: Open Source and reproducible image build - hansehv - 14-06-25 (12-06-25, 20:37)DaZang Wrote: amazing project you have here! Hi David, Thanks for your kind words... As for your questions and remarks: The wifi connection to home network is the standard linux one, You can see in /etc/wpa_supplicant.conf a symbolic link to the networks.txt in the config area on the windows accessible part of the SD. Switching between hotspot=access mode and client mode is done in the autohotspot.sh in the /home/pi subdir. Rest of "github missing sources" is in pi's homedir as well. Adapted rtmidi2 and python-midi are repositories in my github account. There is no script for building (yet). I built it step by step manually and kept notes. This will have to be done in near future as debian buster is running out of support and I'm not sure that this SB version can run on PI5. BTW: Alex's fork is different from mine (and also later..), so I didn't abandon that; in that time I just cloned & updated Joseph's build - easy to reproduce in that stage.. Your point is valid (thanks), so once I get to upgrading I will publish the next version installation notes, the sources in the pi homedir and changes for the systemctl services. And ofcourse I would surely appreciate and welcome a build script as a push request. My focus is the function of the box - I built it for own use, which is still the case. Regards, Hans RE: Open Source and reproducible image build - DaZang - 15-06-25 Thank you for your detailed reply! I'm glad to hear that the rest of the sources are in the homedir and in your other github repositories and that you kept detailed notes about the build process. With the "abandoned fork" i meant that Alex stopped committing to his repository 8 years ago. I'm looking forward to the next version with the additions! As soon as i feel at home in the linux world I would be open to try a build script. For now I want to dig deeper into the project and find out if i can get rid of latency, crackle noises and long loading times with an upgrade to Pi 4 (2GB), a high speed USB stick and a Pirate Audio line out hat. Regards David |