The official way to do this is to use rpi-image-gencan anyone tell me how to get this?
https://github.com/raspberrypi/rpi-image-gen
To run it just do:
Code:
sudo ./install_deps.sh./build.sh -D example/slimTo modify it, look at the profile that that references in examples/slim/profile/v8-svelte
What you now want to do is add a new "layer" (meta) to that profile, mine is called motion.yaml
Code:
---name: motionmmdebstrap: packages: - rpicam-apps-lite - libbrotli1 - libcurl4 - libldap-2.5-0 - libnghttp2-14 - librtmp1 - libsasl2-2 - libsasl2-modules-db - libssh2-1 - python3-pip - git customize-hooks: - git clone https://github.com/Motion-Project/motion; cd motion; autoreconf -fiv; ./configure --prefix=$1/usr; make; make installHopefully that should get you far enough along to do something relatively simple, there are lots of other examples (web kiosk for example) which can be used...
Statistics: Posted by gsh — Fri Jul 18, 2025 12:02 pm