How do you generate an image for Raspberry Pi image?

Hi all,

I am new to Home Assistant and managed to install it on my Raspberry Pi. However, after reading through all the developer documents and looking through all the code, there doesn’t seem any guidelines on how to build the image for the Raspberry Pi devices? Did I miss reading a specific document?

I read the part about performing a command with Docker, and it appear to pull the request, but I have no evidence of the files it has pulled?

Any assistance in building able to build an image for a Pi device would be greatly appreciated.

Regards,
Paul

Is there a particular reason you want to build it yourself?

Why do I need to provide a reason? It’s open source software and one should be able to download and build it.

OK I thought perhaps if we knew the reason, it may produce better help.

google reveals this

Fair enough, I am trying to build some customizations for a client but my first step is to build an image as-is without any updates. Just cloning and wanting to image. I want to produce the same result as clicking on the gzip file and using etcher to burn image to a micro SD card.

I have looked at the link you provide and all repositories, but none of them are really clear on how to produce an image. My

Not sure I fully understand what your’re trying to achieve, but if you are trying to create an image/clone from an existing install I’d recommend RPi-Clone:

Not exactly. If I make changes and I want to generate a new install/image? What do I do?

I can’t be the first one wanting to generate a new image from source code for Raspberry PI.

You are more likely to find developers who can help you with building on discourse, see https://www.home-assistant.io/help/

Don’t forget to comply with the software license if you are distributing your work to your client.

I’m trying to do the same thing for local testing, have you found a way to build locally hass for raspberry?

Hello,

did you find a way to generate your own image ?

Yes, but it has been a pain, a lot of repository and different process are involved…

Hi,
so now I built an image but … my changes are not taken in account :slight_smile:

I don’t know why because in the “images” section I had the link of my own docker.

There is no compilation error …
I can flash the image on an sdcard and install my “custom” image on RPI4.
The Rpi4 boot but none of my changes are visible.
Any idea ?