fix: build home
Some checks failed
ci/woodpecker/push/sync Pipeline was successful
ci/woodpecker/manual/sync Pipeline was successful
ci/woodpecker/manual/build-wifi Pipeline failed
ci/woodpecker/manual/build-lte unknown status
ci/woodpecker/manual/copy unknown status

This commit is contained in:
nyyu 2023-04-01 08:30:48 +02:00
parent ef892337b1
commit a4caafbd4d
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ pipeline:
environment: environment:
- BUILD_HOSTNAME=docker - BUILD_HOSTNAME=docker
commands: commands:
- export HOME=/build
- cd /build - cd /build
- find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + || true - find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + || true
- bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6 || cat out/build_error && exit 1" - bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6 || cat out/build_error && exit 1"

View File

@ -18,6 +18,7 @@ pipeline:
environment: environment:
- BUILD_HOSTNAME=docker - BUILD_HOSTNAME=docker
commands: commands:
- export HOME=/build
- cd /build - cd /build
- find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + || true - find /build/out/target/product/$device -type f -name '*.prop' -exec rm -vf {} + || true
- bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6 || cat out/build_error && exit 1" - bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6 || cat out/build_error && exit 1"