Hacker Public Radio

HPR4299: Building your own Debian images for your Raspberry Pi


Listen Later

This show has been flagged as Clean by the host.

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.

Provide feedback on this episode.

...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
Security Now (Audio) by TWiT

Security Now (Audio)

1,971 Listeners

Off The Hook by 2600 Enterprises

Off The Hook

117 Listeners

No Agenda Show by Adam Curry & John C. Dvorak

No Agenda Show

5,935 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

283 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

265 Listeners

BSD Now by JT Pennington

BSD Now

89 Listeners

Open Source Security by Josh Bressers

Open Source Security

43 Listeners

Late Night Linux by The Late Night Linux Family

Late Night Linux

154 Listeners

The Linux Cast by The Linux Cast

The Linux Cast

35 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

7,864 Listeners

This Week in Linux by TuxDigital Network

This Week in Linux

36 Listeners

Linux Dev Time by The Late Night Linux Family

Linux Dev Time

21 Listeners

Hacking Humans by N2K Networks

Hacking Humans

314 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

92 Listeners

Linux Matters by Linux Matters

Linux Matters

20 Listeners