Welcome to the “setupimage” repository of pib.rocks! This project streamlines the creation of custom Raspberry Pi OS images tailored for the pib.rocks robot, automating the setup process for ease of use.
The setupimage project automates the creation of a custom Raspberry Pi OS (pibOS) image using a GitHub workflow. This process includes cloning repositories, installing dependencies, downloading a base image, setting up the pib backend, creating the image, and uploading it as a release.
- Automated Image Creation:
Automates the creation of a Raspberry Pi OS image, simplifying the setup process for users. - Streamlined Setup:
Automates the setup process forpib-backend, eliminating the need for manual intervention. - CustomPiOS Integration:
Utilizes CustomPiOS and depends on pib-backend to create a tailored image. - Easy Installation:
The created image can be flashed onto a microSD card (minimum 32GB) using rpi-imager, with configuration handled directly within the imager. - Automatic Final Installation:
Completes the installation ofpib-backendafter the first boot, as Docker images require a running system for deployment. - Use Case:
Facilitates the deployment and configuration of the pib.rocks robot by creating a functional image.
Before you begin, ensure you have the following:
- rpi-imager installed.
- A microSD card with at least 32GB of storage.
- The latest release from the setupimage releases page.
-
Download the Latest Release:
- Example: pibOS-25.04.06-15.34.img.xz
-
Flash the Image:
- Use
rpi-imagerto flash the downloaded image onto your microSD card.
- Use
-
Boot the Raspberry Pi:
- Insert the microSD card into your Raspberry Pi and boot it up.
- Note: The initial setup, including Docker configuration, may take some time.
(Optional)
If you prefer to build the image locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/pib-rocks/setupimage.git
-
Navigate to the Project Directory:
cd setupimage/pibOS -
Run the Build Script:
sudo ./build_dist
Once the image is flashed and the Raspberry Pi is booted, the pib-backend will complete its installation automatically. You can then proceed with configuring your pib.rocks robot as needed.
We welcome contributions! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or support, please open an issue or contact us through the provided channels.