A repo where I hold my terranix/terraform code to build my LineagOS binaries

Ingolf Wagner ac8ab8fdc7 remove non-sense 2 months ago
01-terranix c6ea318fcc add cleanup script 2 months ago
02-build a85f2dc29e renamed folders to hightlight order 2 months ago
03-install a85f2dc29e renamed folders to hightlight order 2 months ago
.gitignore f8713745bc init 2 months ago
README.md ac8ab8fdc7 remove non-sense 2 months ago
sshkey f8713745bc init 2 months ago
sshkey.pub f8713745bc init 2 months ago

README.md

A setup to build lineage os on a hetzner box

How to build and install lineag-os on a sony z5 compact

OPTIONAL: generate fresh ssh keys

ssh-keygen -P "" -f sshkey

generate machine

cd ./01-terranix
nix-shell --run "create"

ssh to machine

cd ./02-build
nix-shell --run "mosh-nixserver-lineageOS-builder"

build

copy ./02-build/build-shell.nix to /root/shell.nix

Than run

run-step1
... do some manual work
run-step2

download and install

copy the resulting lineage-14.1-<date>-UNOFFICIAL-suzuran.zip and recovery.img to ./03-install and in there run nix-shell and follow the steps of https://wiki.lineageos.org/devices/suzuran/install

Install

and start from there.

cleanup

cd ./01-terranix
nix-shell --run "clean"