I am new to Linux distros and I am trying to create a custom Linux distribution that runs on a Raspberry Pi. The main purpose of this distro is to display the output of a Python Flask code and nothing else. Here are the details of my project:
Raspberry Pi model: zero w
What I have tried: I have installed the necessary dependencies for running Flask on the Raspberry Pi. I have tested the Flask application locally on my Raspberry Pi, and it works as expected. The problem I am facing: I want to create a custom Linux distribution that boots directly into this Flask application without showing any desktop environment or other applications. I want the Raspberry Pi to behave like an appliance with a single purpose: displaying the Flask application's output.
I would appreciate any guidance or suggestions on how to build such a Linux distro specifically for a Raspberry Pi, including the necessary configuration steps and any additional software or tools required. or how to setup debian like that