On Thu, 20 Jul 2017 03:17:22 -0700, T Obulesu wrote:
> Hello all,
> I have a raspberry pi3 and installed with Raspbian image.
> I'm running few python applications in it.
> I want to make a new Image with the existing image that should include
> my python applications and install this image in 100 new BBBs...
> And few things like ifconfig settings (set a static IP), internet
> settings and installation of python libraries should be automatically
> done while the image installation is in progress..
> How can I do this?
> Is it possible?
>
I'd treat this like any other source level port, assuming that your BBB
has Python installed and a usable network connection to your home LAN:
- use the tool of your choice to copy the python sources, scripts, etc
onto the BBB, i.e. ftp, scp or sftp
- recompile then on the BBB, run your regression test set to make sure
they work correctly there, and install as you want.
- then make an image copy of the BBB's filesystem, check that its
bootable and start copying it onto the other BBBs
If you find problems with the Python stuff, apply fixes, backport them to
the RPi and retest them there. Rince, spin dry and repeat until the bugs
are squashed on all systems.
Do you use any source management system (git, cvs or ...)?
If not, consider setting one up and establishing a regularly backed-up
central repository for your code and access from all the places where you
compile and use the programs. You'll find that doing this makes code
maintenance a lot easier: fix the code on whatever system you found the
problem on, commit the changes and then pull down the fixes, recompile
and retest on the other machines. Anything like this is much easier to do
once you have version control up and running.
--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|