sign your builds with ease
wget https://raw.githubusercontent.com/rifux/android-signer/release/sign.sh
./sign.sh
Add these lines in kona.mk
placed at device/{vendor_name}/{device_codename}/kona.mk (change {vendor_name} to your device vendor, for example Xiaomi; same for {device_codename})
# Signing
include vendor/lineage-priv/keys/keys.mk
Follow your custom ROM build guide (lunch device; mka bacon ...)