How to install an specific and custom version of klipper?

Basic Information:

Printer Model: Custom
MCU / Printerboard: Manta M8P
Host / SBC CB1
klippy.log No

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

As the tittle says, i want to install an specific version of klipper.

Basically, I have developed a machine and customized some files of klipper, mainsail and klipperscreen in order to make It work as i want and I’d like to save this version of klipper and just install It in other machines so they are identical.

For now, I have to install first klipper for example by kiauh and then modify the desired files, which can lead to conflicts if the new version of klipper might contains new dependencies in the files that i change.

(What i mean is that i’m sure that these changes i have made work in a specific version of klipper but i’m not sure they’ll work for some other new versions)

I have a git repo of the machine with klipper, klipperscreen, and all the other services loaded in It as submodules, so my idea is something similar to just clone these submodules, but i’m not sure if these need an installation script or whatever.

Any ideas?

See:

While all common mechanisms use git, this might be adding complexity.

1 Like

Ok, i guess i’ll just create the specific repos of this machine instead of make them submodules and just clone them normally using kiauh. Am i right?

I guess this is the best approach. Git also offers to add various “remotes” and switch between them. So, you could simply use KIAUH to do the installation legwork and then add your repositories as another remote to the individual components and check them out.

In the Moonraker’s update manager, you can then also add these repositories for managing future updates.

1 Like