-
Notifications
You must be signed in to change notification settings - Fork 53
NOOS image build tools ? #211
Comments
Hi, sudo apt-get install gettext gpsd gpsd-clients python-w1thermsensor python-wxgtk3.0 hostapd dnsmasq mpg123 python-gammu gammu mosquitto crudini whois libusb-1.0-0-dev libfftw3-dev qt5-qmake libasound2-dev libpulse-dev autoconf automake python-dev python-matplotlib bridge-utils libqt4-dev gnuradio libvolk1-bin libusb-1.0-0 gr-iqbal qt5-default libqt5svg5 libportaudio2 make gcc xsltproc curl git build-essential libtool librtlsdr-dev rtl-sdr i2c-tools cmake zygrib libnss-mdns avahi-utils libavahi-compat-libdnssd-dev swig python-numpy python-scipy python-serial python-gps python-pil python-opengl python-flask bsdtar and python packages: Then you need to install signal k and node-red. Compile these packages:
and openplotter:
The rest are dozens of notes, sorry. |
Take a look at https://github.com/RPi-Distro/pi-gen - on a quick read everything you listed looks automatable to me. |
Thank you very much ! Let's see how we can automate this |
Ill give it a try. |
I went into pi-gen some time ago but I realized that it was not possible compile github packages or install them from pip. If I am not wrong this tool just install arm compiled packages from raspbian repository and edit files to config the final system. I we want to include all the required packages we should precompile and install them "manually" usin pi-gen tool, same for pip packages. Too much work. Am I misunderstanding anything? We only generate a new image when Raspbian is upgraded, in this case from jessie to strech, perhaps once a year/2 years. We use separate sh scripts and notes to make some changes manually. It is not an automatized process but It takes only 2 hours in getting an img file. Then we convert this image in a NOOBS installation following the official steps. It would be great to have all this in just one step with pi-gen but if we have to edit pi-gen stages to manually install all required and not compiled packages I do not think we win something. It could be better gathering all sh scripts in just one and automatize the manual steps in that unique sh script. We could publish that script to make easier porting to different systems and allow people to improve the procedure. I could have misunderstood pi-gen I will give it a try again this afternoon. If you have any tip I am listening. thanks. |
Here in stage 3 So Im expecting to be able to do something like this : But im not reaching stage 3 yet.... |
Ok, let me know if it works please! |
After some test it seems that this could work. I will report... |
I wasen't able to build a functional image cuz pi-gen was not on root partition... pi-gen also seem to take some parameters form the host (Locale, /dev/, /proc/ ) OS. Witch make the build : Host dependent... So that's what ill remember from my experience with pi-gen. This said, it would probably worth debugging why customs changes appear in the build log and not in the ISO but I don't have enough time to do it. |
Could you share how u tried it? If somebody else continues with this. Just the description how it failed will not help much if at all. |
Look at my fork: https://github.com/sailoog/openplotter-gen |
It was just a test of pi-gen, I did not tried to build OpenPlotter so there is not much I did, My repo is here : My custom changes are here : And then I followed instructions found on pi-gen README witch is pretty much just : sudo ./build.sh Once it's done (over 2Hours ) The image can be sound somewhere in ./work/ |
Comiting on the master branch of pi-gen, even if it's a fork. It will be problematic when pi-gen will push new commits and you will want to integrate them ( as rebase or as merge ) You could create a branch for OpenPlotter-master where upstream and features could be merged/rebased. An other way would be to have your own repo of pi-gen and pull from upstream in a side branch , then merge them into your master. But IDK if github allow this workflow of git. ...Other approch might exist. |
Yes, this was just a try, I am even editing directly on github :) |
if @jeanparpaillon agree, I think we can close this issue. |
Is this done & available someplace? |
Not yet. I would keep thi open until we have something. I will report here. |
Hi,
I would like to integrate openplotter tools in another distribution. Are the tools/scripts for building NOOBS image available ?
The text was updated successfully, but these errors were encountered: