hpr4299 :: Building your own Debian images for your Raspberry Pi
You can build your own image for you Pi, so that it's more customized from the first boot
Hosted by dnt on Thursday, 2025-01-23 is flagged as Clean and is released under a CC-BY-SA license.
debian, raspberryPi.
(Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr4299
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:10:09
general.
On https://raspi.debian.net/ one time the image was broken, so I had to built it myself.
https://salsa.debian.org/raspi-team/image-specs
The makefile can create you a yaml file for your pi model and your release of Debian. Then you can edit that file to do whatever you want to the system, before making it into an image.
For example:
- In the section apt/packages, add sudo.
- Create a user, add it to the sudo group, with password "" and /bin/bash for shell
- Create a .ssh for your user, and echo in your SSH public keyboard
That way you can boot into your new Debian system without having to have a screen.
As soon as you login, the first thing you should do is reset your own password.
By doing -p "" we set the password to empty.
If we had not done -p "" the password would have been empty but locked, so you wouldn't be able to sudo.
Also go ahead and lock your root user password, which you could also do from the file.
Build your image, and go.