Skip to content

Commit 057ff05

Browse files
committed
mainline
1 parent b2abe69 commit 057ff05

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# LineageOS for QEMU Virtual Machines
22

3+
[![GitHub](https://img.shields.io/github/downloads/jqssun/android-lineage-qemu/total?label=GitHub&logo=GitHub)](https://github.com/jqssun/android-lineage-qemu/releases)
34
[![license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/jqssun/android-lineage-qemu/blob/main/LICENSE)
45
[![build](https://img.shields.io/github/actions/workflow/status/jqssun/android-lineage-qemu/build.yml)](https://github.com/jqssun/android-lineage-qemu/actions/workflows/build.yml)
56

build.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/bin/bash
2-
32
export DEBIAN_FRONTEND=noninteractive
43
sudo apt update
5-
sudo apt install -y sudo git android-sdk-platform-tools python-is-python3 python3-yaml # libncurses5
4+
sudo apt install -y sudo git android-sdk-platform-tools python-is-python3 python3-yaml qemu-utils # libncurses5
65
sudo apt install -y bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick protobuf-compiler python3-protobuf lib32readline-dev lib32z1-dev libdw-dev libelf-dev lz4 libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev
76
sudo apt install -y meson glslang-tools python3-mako
87
git config --global user.name "github-actions[bot]"
@@ -11,7 +10,6 @@ git config --global trailer.changeid.key "Change-Id"
1110
git config --global color.ui true
1211
git lfs install
1312
unset REPO_URL
14-
1513
mkdir -p bin android/lineage
1614
curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
1715
chmod a+x bin/repo
@@ -24,9 +22,10 @@ sed -i 's/-$(LINEAGE_BUILDTYPE)/-jqssun/g' vendor/lineage/config/version.mk
2422

2523
source build/envsetup.sh
2624
export AB_OTA_UPDATER=false
27-
25+
breakfast virtio_arm64only
26+
echo "$(jq '. += [{"repository": "android_kernel_mainline_configs", "target_path": "kernel/mainline/configs"}]' device/mainline/common/lineage.dependencies)" > device/mainline/common/lineage.dependencies
2827
breakfast virtio_arm64only userdebug
2928
m recoveryimage
3029
mv out/target/product/virtio_arm64only/recovery.img ../../recovery-userdebug.img
3130
breakfast virtio_arm64only user # breakfast virtio_arm64only
32-
m vm-utm-zip otapackage
31+
m vm-utm-zip otapackage

0 commit comments

Comments
 (0)