A powerful Bash script for creating PINN-compatible images
5.1K
š ļø A powerful Bash script for creating PINN-compatible images
docker pull smhrambo/pinn-converter
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>
| Parameters | Description |
|---|---|
-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.
GPL-3.0 license
If you like this project:
š Star the repo š Share it with others š Open issues for feedback
Content type
Image
Digest
sha256:fc4077b9fā¦
Size
34.6 MB
Last updated
6 months ago
docker pull smhrambo/pinn-converter