Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octoprint/octopi-uptodate
Latest OctoPi image with OctoPrint already updated to the latest release
https://github.com/octoprint/octopi-uptodate
automation
Last synced: 6 days ago
JSON representation
Latest OctoPi image with OctoPrint already updated to the latest release
- Host: GitHub
- URL: https://github.com/octoprint/octopi-uptodate
- Owner: OctoPrint
- License: gpl-3.0
- Created: 2021-06-30T12:59:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T10:03:37.000Z (7 days ago)
- Last Synced: 2024-11-06T10:51:13.595Z (7 days ago)
- Topics: automation
- Language: Shell
- Size: 104 KB
- Stars: 58
- Watchers: 8
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 OctoPi-UpToDate
*The latest OctoPi release with the latest OctoPrint already included*
This repository automatically updates the OctoPrint installation, kernel and bootloader on the latest OctoPi image
and provides the resulting image ready to flash. Checkout the [releases](https://github.com/OctoPrint/OctoPi-UpToDate/releases).## How does this work?
A bunch of simple update scripts are run via [CustoPiZer](https://github.com/OctoPrint/CustoPiZer):
* `00-enforce-32bit-kernel`: Ensures only 32bit kernels are installed (since RPi kernel 6.1 64bit will be installed even on 32bit)
* `01-update-octoprint`: Updates OctoPrint to the latest version
* `02-update-boot`: Updates bootloader and kernel to the latest version
* `03-update-libcamera-apps`: Updates the the libcamera apps to the latest version
* `80-install-user-fix`: Installs a compatibility layer to support renaming the `pi` user, if needed.
* `81-fix-octopi-txt`: Replaces `/boot/octopi.txt` with one with updated documentation regarding camera options.
* `99-write-build`: Writes the build tag to `/etc/octopiuptodate-build`## How do I run this?
There's a [Taskfile](https://taskfile.dev) in this repository that you can use to run the update scripts locally.
- Install [Taskfile](https://taskfile.dev/installation/)
- Install [Docker](https://www.docker.com/)
- Create a `workspace` directory and place your `input.img` in that
- Run `task build`Alternatively, you can also manually run `docker`:
```
docker run --rm --privileged -v $(pwd)/workspace:/CustoPiZer/workspace $(pwd)/scripts:/CustoPiZer/workspace/scripts ghcr.io/octoprint/custopizer:latest
```## Can I do something like this as well?
Sure, check out [CustoPiZer's README](https://github.com/OctoPrint/CustoPiZer) for
instructions on how to set up your own image build for modified but clean OctoPi images!## Are these images available on the download page and in the Raspberry Pi Imager?
Yes, they are!
## I have a problem, where's the issue tracker for this project?
If you need support with OctoPrint or OctoPi, [please get in touch on the OctoPrint Community Forums](https://community.octoprint.org).
For issues *specific to this project*, please [open an issue here](https://github.com/OctoPrint/OctoPi-UpToDate/issues/new?template=bug_report.yml). Please note that the only issues accepted here are those related to *modifications* done by this build process, as described above.
Anything not touched by the modification scripts should *not* be reported here, but rather on the [OctoPi issue tracker](https://github.com/guysoft/OctoPi/issues).