tolgayilmaz
tolgayilmaz

Reputation: 4185

Raspberry Pi Custom SD Card Image

I have a project uses Qt GUI which works on raspberry-pi2; however I don't want users to interact with the operating system. I just want that the only application appears on the screen (from boot to shutdown) to be is my application. Actually the retropie project has done what I actually want. So I want to prepare an minimal SD Card image like that. Is there any tool or way to do that?

Upvotes: 0

Views: 268

Answers (2)

Luca Carlon
Luca Carlon

Reputation: 9986

I'd just use the init scripts to run your application as soon as possible and make it handle all user inputs (keyboard and mouse) properly, without giving any way to the user to close it.

Upvotes: 0

fghj
fghj

Reputation: 9404

You can use openembedded http://www.openembedded.org/wiki/Main_Page for this. Creat file that describe packages for your image, at your case base system + qt, plus create description of package of your program, that include .service file for run you program at start with systemd. The command MACHINE=raspberry-something bitbake your-image

Upvotes: 0

Related Questions