Skip to content

Latest commit

 

History

History
76 lines (55 loc) · 2.33 KB

README.md

File metadata and controls

76 lines (55 loc) · 2.33 KB

RatOS

What is RatOS

RatOS is a preconfigured Raspberry Pi image that aims to make it as painless as possible to get Klipper, Mainsail and Moonraker up and running on your printer. It is developed and maintained by Mikkel Schmidt (miklschmidt#2036 on the Rat Rig Unofficial Discord) with help from the community.

How to use RatOS

Start by reading the Documentation

Build your own / Developing

Requirements

Packages for Ubuntu 18.04/20.04

** Dekstop variants are known to cause issues during build due to snaps takeing up loop mounts **

sudo apt-get install gawk make build-essential util-linux \
qemu-user-static qemu-system-arm \
git p7zip-full python3 curl

Compiling source

git clone https://github.com/Rat-Rig/RatOS.git
cd RatOS/
make build

or without docker:

git clone https://github.com/guysoft/CustomPiOS.git
git clone https://github.com/Rat-OS/RatOS.git
cd RatOS/src/image wget -c --trust-server-names 'https://downloads.raspberrypi.org/raspios_lite_armhf_latest'
cd ..
../../CustomPiOS/src/update-custompios-paths
sudo modprobe loop
sudo bash -x ./build_dist

Other make options

make clean - Clean all previous build items except the source raspian image
make distclean - Clean up the source image and trigger a new download

Build layout

RatOS/emulation - Contains dependencies for emulation testing
RatOS/src/image - Contains our base raspbian image
RatOS/src/workspace - Created during build, and output for compiled images

HUGE THANK YOU to the Sponsors

  • Dnoell