Skip to content

Instantly share code, notes, and snippets.

@dicer
dicer / gist:3543ef27cbee845c0cbba9cf3f15242a
Last active Aug 2, 2020
Lineage MicroG Build for Pro1
View gist:3543ef27cbee845c0cbba9cf3f15242a
docker build this image https://github.com/lineageos4microg/docker-lineage-cicd
create a folder somewhere where all your lineageos stuff goes.
Then run the container as follows (you might need to create those other directories first):
docker run -e "SIGN_BUILDS=true" -e "SIGNATURE_SPOOFING=restricted" -e "BRANCH_NAME=lineage-16.0" -e "DEVICE_LIST=pro1" -v "/mylocaldir/repo:/srv/src" -v "/mylocaldir/zips:/srv/zips" -v "/mylocaldir/logs:/srv/logs" -v "/mylocaldir/cache:/srv/ccache" -v "/mylocaldir/local_manifests:/srv/local_manifests" -v "/mylocaldir/keys:/srv/keys" lineageos4microg
Or you can have the container add additional useful prebuild software to the image.
add local_manifests/prebuilds.xml:
<?xml version="1.0" encoding="UTF-8"?>
@dicer
dicer / wifionice
Last active Apr 12, 2020 — forked from vollkorn1982/wifionice
HowTo auto connect your Linux to the German Wifi on ICE trains
View wifionice
#!/bin/bash
# change the next line to match your wifi device and put this file in /etc/NetworkManager/dispatcher.d/ and make it executable
WIFI_DEVICE=wlp3s0
IF=$1
STATUS=$2