1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00
Commit Graph

344 Commits

Author SHA1 Message Date
Philip Nagler-Frank
f58473f4cd SC2143: Use grep -q instead of comparing output with [ -n .. ]. 2021-04-13 16:16:17 +02:00
Philip Nagler-Frank
969d55e44f SC2237: Use [ -n .. ] instead of ! [ -z .. ]. 2021-04-13 16:09:46 +02:00
Philip Nagler-Frank
4aabdabd43 SC2086: Double quote to prevent globbing and word splitting. 2021-04-13 16:00:12 +02:00
Philip Nagler-Frank
738e9b1bd1 SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. 2021-04-13 15:59:22 +02:00
Philip Nagler-Frank
b4ee898f3f
Add support for building Lineage 18.1 (#148)
* add patches for android R
* don't request user input when patching
* update names of branches and devices in readme
* fail fast when patch does not apply cleanly
2021-04-01 15:49:45 +02:00
Pete Fotheringham
17d572cff6 Update build_manifest.py to get rid of python2->3 related error 2021-02-17 07:03:39 +00:00
Philip Nagler-Frank
78531e0d02 more details on how to set up OTA 2021-01-29 17:58:03 +01:00
Philip Nagler-Frank
cbf8560e3a document ZIP_SUBDIR 2021-01-29 17:57:48 +01:00
Philip Nagler-Frank
17b2da63ec copy build.prop file together with zip 2021-01-28 18:11:34 +01:00
Darío Hereñú
f012e2084b
README: Minor fix on line 03 (#106) 2021-01-19 12:38:20 +01:00
Philip Nagler-Frank
c565b41e0c
Update url to branch list in Dockerfile comment (#117)
Matches url in readme now
2021-01-19 12:37:05 +01:00
Philip Nagler-Frank
ded6b5d565
Align with Dockerfile best practices (#147)
* minimize number of layers in Dockerfile
* don't call apt-get upgrade in Dockerfile
* remove apt cache after installing packages in Dockerfile
* replace depreacted Maintainer field in Dockerfile
* copy files after adding dependencies
2021-01-19 12:35:51 +01:00
Benjamin Gaillard
c947aa6f63
Use recovery.img over boot.img if available (issue #134) (#145) 2021-01-19 09:44:59 +01:00
thrillfall
3792a9d3b2
move boot.img to output directory (#136)
Also move recovery image to out directory
2021-01-14 14:55:32 +01:00
Simon Polack
30405bb940 Fix ccache which is no longer shipped with AOSP
..by adding a ENV VAR pointing to the actual executable.

Taken out of StolenHal Pull Request.
2020-08-16 01:51:30 +02:00
Simon Polack
4f145950dd Cleanup leftovers of opendelta 2020-08-16 01:44:51 +02:00
Simon Polack
aca1a10efb Docker: Base on Ubuntu 20.04 2020-08-16 01:43:19 +02:00
SolidHal
90b3957918 Don't include keys in PRODUCT_EXTRA_RECOVERY_KEYS, causes build signing error 2020-08-15 22:52:19 +02:00
Simon Polack
1cc6a653cd Add android Q sig spoofing patch 2020-08-15 19:16:05 +02:00
Simon Polack
4a18e077b3 Add keys for networkstack
Resolves error
FAILED: ninja: 'user-keys/networkstack.x509.pem', needed by 'out/soong/.intermediates/packages/modules/CaptivePortalLogin/CaptivePortalLogin/android_common/CaptivePortalLogin.apk', missing and no known rule to make it

See:
https://android-review.googlesource.com/q/I7257a472d702e82acdadffc4e0535c63a8bd591d
2020-08-15 19:16:05 +02:00
Simon Polack
60c8c9de4e Define branch specifics statically instead of smart logic 2020-08-14 22:49:24 +02:00
SolidHal
d75cb19d8f remove opendelta support, opendelta seems to have been dropped from omnirom 2020-08-14 21:22:02 +02:00
Simon Polack
9979eb1541
Merge pull request #75 from evan-goode/74-gitlab-user-agent
Send some User-Agent other than "Python-urllib"
2020-08-14 16:21:42 +02:00
Simon Polack
f4f07bc19f
Merge pull request #58 from petabyteboy/patch-1
Add clang
2020-08-14 16:20:04 +02:00
Evan Goode
1f9f92e22f Send some User-Agent other than "Python-urllib"
Looks like GitLab is using CloudFlare to block requests of raw files from user agents matching "Python-urllib*". So we'll just send a generic browser user agent instead.
2020-04-11 10:14:54 -04:00
Nicola Corna
e724032a86 Add gitlab.com/the-muppets as additional source for proprietary files
Manifests can not be used as-is, as they have some incompatibilities
(like the re-define of the already existing "gitlab" remote) with the
build system.
2019-10-05 10:53:43 +02:00
Milan
c732a03857 Add clang
Some devices need clang to build successfully
2019-09-29 20:31:58 +02:00
Nicola Corna
481aefe6de Update default branch from cm-14.1 to lineage-16.0
Also adjust the examples in the README.
2019-08-21 10:24:13 +02:00
Nicola Corna
c3478c3352 Remove openjdk-7
OpenJDK 7 was previously taken from the Debian experimental repo, but is
has been removed.
OpenJDK 7 is needed to build LineageOS/Cyanogenmod 11.0-13.0, so
support for those version is dropped.
2019-08-21 10:00:45 +02:00
Samuel Wein
50027d7dd2 Add support for building LineageOS-16.0 (#30)
* Added initial Android 9 / LineageOS 16.0 support

* Add muppets16 containing Lineage-16.0 themuppets repos. Updated src/build.sh to allow building Lineage-16.0

* [Fix] Fixed switch for which themuppets repo to use

* [Fix] TheMuppets now supplies 16.0 manifests. Deleting local copy

* [fix] Fixed signing builds in Lineage-16.0 and added kmod to the docker image. (thanks @corna for both)

* Fix Android < 9 builds
2019-04-19 07:14:16 +02:00
Nicola Corna
f1941a5aa5 Add bsdmainutils and cgpt
cgpt and hexdump (in the bsdmainutils package) are required by
brillo_update_payload.
2018-07-18 19:02:11 +02:00
Nicola Corna
fc32f54b3e README fixes 2018-06-22 20:50:15 +02:00
Nicola Corna
1fba7e2e99 Move -maxdepth before -name in find calls
A warning message is displayed if -maxdepth is specified after -name.
2018-05-09 06:58:26 +02:00
Nicola Corna
de38c17ca3 Don't set IFS or shopt
Changing the default IFS or shopt creates issues when sourcing
build/envsetup.sh

Fixes #13.
2018-05-09 06:55:07 +02:00
Nicola Corna
93cc0e5cb5 Fix LineageOS Updater URL
The Updater URL property and format has changed in e930cf7 (cm-14.1) and
5252d60 (lineage-15.1), now the full URL (plus the placeholders) must be
specified.
2018-04-17 07:03:36 +02:00
Nicola Corna
d39ed8fea2 Replace '! -z' with '-n' 2018-04-16 19:15:09 +02:00
Nicola Corna
4924220cb7 Use xargs -r when removing the old repo logs 2018-03-17 18:19:30 +01:00
Nicola Corna
fb179acc0a Override device-specific location providers settings
Some devices (currently addison, nx512j and oneplus3) set
config_enableNetworkLocationOverlay=false, binding permanently
com.qualcomm.location as location provider and forbidding us to use
com.google.gms as a location provider.
2018-03-16 18:23:01 +01:00
Nicola Corna
43e95e1720 Fix old file removal 2018-03-16 11:24:29 +01:00
Nicola Corna
7e1ccbb8d3 Remove old repo logs 2018-03-14 10:51:52 +01:00
Nicola Corna
1a467b6ddd Rewrite README.md 2018-03-09 08:46:02 +01:00
Nicola Corna
5ffe75049a Generate new signing keys when missing 2018-03-08 11:36:41 +01:00
Nicola Corna
ebe71e31f1 Use Bash-specific redirect 2018-03-06 20:50:14 +01:00
Nicola Corna
746c8740f6 Log the repo output 2018-03-06 20:47:13 +01:00
Nicola Corna
b55109556f Merge master and multibranch 2018-03-06 20:46:12 +01:00
Nicola Corna
ead08cc100 Fix cron 2018-02-28 21:32:58 +01:00
Nicola Corna
876c28dc8f Automatically select the correct OTA_PROP 2018-02-28 21:32:58 +01:00
Nicola Corna
a6d122f30b Don't delete the latest build of the old LineageOS releases 2018-02-28 21:32:58 +01:00
Nicola Corna
426f63bf9c Prepare for LineageOS 15.1 2018-02-28 21:32:55 +01:00
Nicola Corna
37c76f39f5 Add --force-sync to repo sync 2018-01-14 09:42:41 +01:00