Build error
The line
repo init -u https://github.com/LineageOS/android.git -b lineage-18.1;
in https://divestos.org/index.php?page=build#init fails.
I have tested it in an empty folder, and same error as below
$ mkdir TESTFOLDER
$ cd TESTFOLDER
$ repo init -u https://github.com/LineageOS/android.git -b lineage-18.1
warning: gpg (GnuPG) is not available.
warning: Installing it is strongly encouraged.
warning: templates not found /build/git-repo-publish/parts/git/install/usr/share/git-core/templates
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
File "/home/schklom/TESTFOLDER/.repo/repo/main.py", line 79
file=sys.stderr)
^
SyntaxError: invalid syntax
It looks like a LineageOS bug, is it?
==============================================================================================================================
In addition, you might want to update the documentation for building on Ubuntu 18.04:
- the package
libesd0-devis not available in the official repos, but can be obtained by adding the repos
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
to /etc/apt/sources.list
- the package
libgcc1:i386is not available on amd64 machines, but can be obtained by adding the i386 architecture
sudo dpkg --add-architecture i386;
-
gocryptfsis not available by default
sudo apt install -y gocryptfs;
One may also need to install fuse if it is not installed already.