Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 998 Bytes

File metadata and controls

37 lines (24 loc) · 998 Bytes

Building patchOS

1. Install Vagrant

Head to vagrantup.com and download Vagrant.

2. Set up the patchOS build environment

In your patchOS source directory:

$ vagrant up && vagrant halt && vagrant up

First time setup will take about 1 hour on a half decent laptop.
The reason for halting and upping is to load any new kernel updates that was installed when upgrading Arch Linux.

3. Build patchOS

$ vagrant ssh -c "/vagrant/vagrant-build"

This will take about 40 minutes on a half decent laptop.

The final patchOS image will be in the release directory if everything went smoothly.

Compress image before creating a release

$ tar cf - patchOS-rpi4.img | pigz > patchOS-rpi.img.tar.gz

Default users in patchOS

The default user is patch with password patch.
The root user has password root. Safety third ;-)
There is minimal safety implemented – root cannot login via SSH.