Sign inSign up

smhrambo/pinn-converter

By smhrambo

•Updated 6 months ago

A powerful Bash script for creating PINN-compatible images

Image
Internet of things
Developer tools
Operating systems
0

5.1K

smhrambo/pinn-converter repository overview

ā šŸš€ PINN Converter

šŸ› ļø A powerful Bash script for creating PINN-compatible images


ā šŸ“¦ Features

  • ⚔ Quick creation of PINN images
  • šŸ”§ Fully customizable (name, icon, description)
  • 🐳 Docker support for isolated builds

⁠🐳 Usage with Docker

⁠Pull image
docker pull smhrambo/pinn-converter
⁠Execute container
docker run --rm --privileged -it -v <PATH_TO_SOURCE_IMAGE>:/opt/pinn/<imagefilename> -v <PATH_TO_OUTPUT_DIRECTORY>:/opt/pinn/os pinn-converter -f /opt/pinn/<imagefilename> -n <NAME>
⁠Parameter
ParametersDescription
-f <image>Path to the source image as an .img file or archive
-n <name>Name of the resulting PINN image
[-i]Interactive mode
[-c <icon>]Path to the icon file as .jpg or .png
[-d <description>]Description of the PINN image
[-u <url>]URL for the OS image
[-t <date>]Date the OS image was created
[-m <version>]Version of the OS image
[-p <Pi Models>]List of all compatible RPi models

To run the program, you only need to specify the path to the source image (-f <PATH_TO_SOURCE_IMAGE>) and the name of the PINN image (-n ).
In interactive mode [-i], all information is prompted for during execution.
All other options are optional.
If additional parameters are provided in interactive mode, they will not be prompted for during execution.
The list of compatible Raspberry Pi models is provided as a comma-separated values (CSV) string.

The script creates a folder named "os" that contains the appropriate folder structure for PINN.


ā šŸ“œ License

GPL-3.0 license


⁠⭐ Support

If you like this project:

šŸ‘‰ Star the repo šŸ‘‰ Share it with others šŸ‘‰ Open issues for feedback

⁠https://github.com/SMHRambo/PINN-Converter⁠

Tag summary

Content type

Image

Digest

sha256:fc4077b9f…

Size

34.6 MB

Last updated

6 months ago

docker pull smhrambo/pinn-converter