How to add apps to the x86_64 image? #165
Replies: 3 comments 1 reply
-
Hey, so I just pushed a commit which updates buildroot to the latest version and solves the build issues people were having. If you pull that then you should be able to build for x86-64 without problems. If you add your app to the appropriate directory in Feel free to post if you have any other problems, I'm looking forward to seeing what you're working on! |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks.
I was hoping for a way to add apps directly onto a drive with snakeware imaged onto it (as if I were to drag-drop code into snakeuser, and use a bit of "from x import y" from there?), so I can quickly debug code. |
Beta Was this translation helpful? Give feedback.
-
The snakeware ISO partition is intended to be "ROM" which persists unmodified between boots. But what you could do is set up a persistent partition as shown in this video: https://www.youtube.com/watch?v=qBbr9N1TIqQ Then copy the directory containing your app to the persistent partition. Once you boot into snakeware, you could then copy your app's directory from the persistent partition to This won't persist between boots of course, only changes made in the snakeuser partition will. Maybe we could add a feature which automatically loads apps from a "userapps" folder in the persistent partition on boot to make it easier for people to load apps that aren't packaged in the snakeware ROM, that would be cool. Edit to note: I haven't tried copying apps from the snakeuser partition to the |
Beta Was this translation helpful? Give feedback.
-
I've been messing around with snakeware for a while on the Raspberry Pi 4. With a bit of help from a spare Linux machine, adding code is relatively easy. As for the x86_64 build, not so much.
I've tried compiling from source but it keeps failing (either it complains about the makefile having an invalid configuration or some binaries still using 32-bit when building for 64-bit), so I gave up on that. I did some digging and (much to my dismay) all of the snakeware code is stored in an initrd image, which is a pain to unpack, not to mention repackage.
I also tried messing with the snakeuser partition, which yielded similar results.
Is there a way to add new code? It would help a lot if someone pointed me in the right direction (or at least, gave me a clue on how to do so).
Beta Was this translation helpful? Give feedback.
All reactions