LineageOS - 编译&&依赖
lineage - 编译环境

lineage - 安装依赖
sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop rsync squashfs-tools xsltproc zip zlib1g-dev
git clone https://github.com/ys1231/pngcrush.git
cd pngcrush/pngcrush
make
sudo cp pngcrush /usr/bin/
git clone https://github.com/ys1231/schedtool.git
cd schedtool
make && sudo make install
lineage - 编译命令
source build/envsetup.sh
breakfast crosshatch user
device/google/crosshatch/extract-files.sh
brunch crosshatch user
mka bootimage
lineage - 删减.repo
- repo sync 之后编译通过可以删除
.repo/
里面磁盘占用最大的目录,不影响编译和后续使用