Compare commits
5 Commits
developmen
...
low-res
Author | SHA1 | Date | |
---|---|---|---|
c27f1e20f1 | |||
7abc15f2d1 | |||
ce201615ef | |||
5af4d799fb | |||
bcd0046242 |
@ -1,6 +1,7 @@
|
||||
---
|
||||
- name: prepare device-specific code
|
||||
shell: |
|
||||
. ~/.profile
|
||||
cd ~/android/lineage
|
||||
. build/envsetup.sh
|
||||
breakfast {{losdevice}}
|
||||
@ -9,6 +10,7 @@
|
||||
|
||||
- name: build
|
||||
shell: |
|
||||
. ~/.profile
|
||||
cd ~/android/lineage
|
||||
. build/envsetup.sh
|
||||
croot &&
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
- name: set up ccache
|
||||
shell: |
|
||||
ccache -M 50G
|
||||
ccache -M 10G
|
||||
ccache -o compression=true
|
||||
args:
|
||||
executable: /usr/bin/bash
|
||||
@ -58,6 +58,7 @@
|
||||
repo sync --force-sync
|
||||
args:
|
||||
executable: /usr/bin/bash
|
||||
ignore_errors: yes
|
||||
|
||||
- name: clone the blobs repo
|
||||
git:
|
||||
|
@ -6,11 +6,9 @@ bootcmd:
|
||||
- uname -r
|
||||
- timedatectl set-ntp 1
|
||||
- timedatectl set-timezone Europe/Bratislava
|
||||
- systemctl disable --now systemd-resolved
|
||||
- unlink /etc/resolv.conf || true
|
||||
- systemctl stop systemd-resolved
|
||||
- echo "nameserver 84.200.69.80" > /etc/resolv.conf
|
||||
- systemctl disable --now snapd
|
||||
- systemctl disable --now snapd.socket
|
||||
- echo "vm.swappiness=3" >> /etc/sysctl.conf
|
||||
- sleep 10
|
||||
|
||||
runcmd:
|
||||
|
@ -23,9 +23,9 @@ mode = ["bridge"]
|
||||
hosts = {
|
||||
"builder" = {
|
||||
name = "builder",
|
||||
vcpu = 4,
|
||||
memory = 1024 * 12,
|
||||
diskpool = "default",
|
||||
vcpu = 2,
|
||||
memory = 1024 * 10,
|
||||
diskpool = "tf-pool",
|
||||
disksize = 1024 * 1024 * 1024 * 150,
|
||||
mac = "02:26:00:13:37:00",
|
||||
# sourceimage = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img",
|
||||
|
Loading…
Reference in New Issue
Block a user