1
0
Fork 0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-05-06 23:26:09 +02:00
Commit Graph

208 Commits

Author SHA1 Message Date
Pete Fotheringham 1562638333 Add the FlaggedAPI back 2024-04-28 22:18:45 +01:00
Pete Fotheringham d37955c0a7 Correct the detection of whether the frameworks_base_patch is set 2024-04-28 21:42:31 +01:00
Pete Fotheringham 9e272c4857 Improve the comment for applying the 'user' build patch 2024-04-28 20:38:21 +01:00
Pete Fotheringham cb1d2d4192 We changed the api, so we need to regenerate current.txt 2024-04-28 20:35:10 +01:00
FintasticMan ad19be5942
Restore A14 patches (not working), fix user patch
This restores the (still currently non-functional) Android 14 signature
spoofing patches, so that, once they have been fixed, users will be able
to create unrestricted patches.

These changes also mean that the error faced by @gwstorm is fixed.
2024-04-24 17:59:42 +02:00
Rasmus Moorats baf7001457 ensure that build doesn't fail when SIGNATURE_SPOOFING is set but no patches are present 2024-04-09 21:19:51 +03:00
Rasmus Moorats fc017cb2ed
Introduce env var USER_BUILD_SPOOFING
If set to "yes", applies a patch which allows LineageOS' built-in
signature spoofing to function even in the user build variant, not just
userdebug or eng.
2024-04-09 17:41:00 +03:00
Rasmus Moorats f10d8e2c5b
Disable old signature spoofing patch for LOS 21
LineageOS 21 introduced built-in support for signature spoofing. The
commit removes the old signature spoofing for LOS 21 (which failed to
build properly) and instead replaces it with a patch which enables
signature spoofing even on builds that aren't "debuggable" like dev and
userdebug, meaning regular user builds also support signature spoofing.

However, since the LineageOS signature spoofing functionality
specifically only applies to microG, this means that "unrestricted"
signature spoofing is no longer possible for LOS 21.

Related GitHub issue: #607
2024-04-09 15:23:48 +03:00
Pete Fotheringham 901a33a1d2 Tidy up code and comments 2024-04-04 17:33:57 +01:00
Pete Fotheringham 04b2d1689e Fix path of IMAGES directory for 21.0 2024-04-04 10:24:46 +01:00
Pete Fotheringham fa45feae0b No need to rename the image file 2024-04-03 22:16:04 +01:00
Pete Fotheringham 13e9fa8f25 Use mka otaimage bacon: see if we hit the posix spawn error 2024-04-03 19:11:52 +01:00
Pete Fotheringham 393bf05478 Move cleanup code to a function. Call it after breakfast fails or build completes 2024-04-03 18:41:14 +01:00
Pete Fotheringham cfc5745d04 Update build.sh: correct name of ota zip file 2024-03-31 08:06:57 +01:00
Pete Fotheringham 8b3440792b
Merge branch 'master' into experimental 2024-03-29 07:14:10 +00:00
Pete Fotheringham 29049c52b6 Fix the posix spwan error
- make the 'otapackage` target instead of bacon
- rename the ROM zip file from "lineage_$codename-ota-eng.root.zip"
  to the expected "lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.zip"
2024-03-13 22:22:02 +00:00
Pete 3bc509aa14 Fix typos and copy / paste errors 2024-02-15 17:25:25 +00:00
Pete 8099ad0bc6 Fix typos and copy / paste errors 2024-02-15 17:11:54 +00:00
Pete a62c3e3db2 fix build signing for Android 14 2024-02-15 17:11:54 +00:00
Pete e813c32135 Handle the 'lineage-21.0' BRANCH_NAME value 2024-02-15 17:11:54 +00:00
Pete 9c4a51a869 Sig spoofing patches for Android 14 / LOS 21 2024-02-15 17:11:54 +00:00
Pete ff27067796 fix build signing for Android 14 2024-02-15 15:42:46 +00:00
Pete 47545fb5fb Handle the 'lineage-21.0' BRANCH_NAME value 2024-02-14 22:08:09 +00:00
Pete 70318caf1b Sig spoofing patches for Android 14 / LOS 21 2024-02-14 22:08:09 +00:00
Pete Fotheringham 4b0c22fbf5 Reset 'builddate` when each device build starts
Fixes #562
2024-02-14 22:08:09 +00:00
Pete Fotheringham 0ba2d82dfa Reset 'builddate` when each device build starts
Fixes #562
2024-01-30 08:07:22 +00:00
Pete 5480a67eb6 Add switchable git lfs pull call 2024-01-28 08:45:37 +00:00
Pete d5c8f2302c Dont create a .prop file for the -img.zip 2024-01-28 08:45:37 +00:00
Pete 23d31d6688 Zip up the .img files 2024-01-28 08:45:37 +00:00
Pete 0ab43084fb Make the -img.zip file 2024-01-28 08:45:37 +00:00
Pete 031bad1b39 Make repo init switchable 2024-01-28 08:45:37 +00:00
Pete fd213ff4b0 Make calling mka switchable 2024-01-28 08:45:37 +00:00
Pete 5d2bac89e7 Make calling envsetup.sh and breakfast switchable 2024-01-28 08:45:37 +00:00
Pete f9bc6d8125 Make applying patches switchable 2024-01-28 08:45:37 +00:00
Pete 8f2815fac2 Make syncing branch repository switchable 2024-01-28 08:45:37 +00:00
Pete e4cf653a9c Make syncing branch repository switchable 2024-01-28 08:45:37 +00:00
Pete 898da798fa Make reset vendor & undo patches switchable 2024-01-28 08:45:37 +00:00
Pete 50e4d53130 Make sync mirror switchable 2024-01-28 08:45:37 +00:00
Pete 34091c5216 Make init mirror switchable 2024-01-28 08:45:37 +00:00
Konrad Mösch 8ea671271a Add RETRY_FETCHES setting (#495)
* add RETRY_FETCHES setting

* add documentation for RETRY_FETCHES

* Improve documentation on default and allowed values
2024-01-24 20:37:56 +00:00
Pete Fotheringham 38ae38c5c9 Revert the changes made for #483
- fixes #487 *#488
2023-10-06 12:07:07 +01:00
Pete 1812b5345b Zip up the delivered '.img' files 2023-09-21 07:19:04 +01:00
Pete Fotheringham fbafff486a
Revert build.sh changes to repo init
Revert the changes from b789cf0d62
2023-09-01 11:35:50 +01:00
Pete Fotheringham 0bcebb7cf1
Update build.sh: fix the additional args for repo init
Fix #478
2023-09-01 11:25:50 +01:00
Pete Fotheringham b789cf0d62
Merge pull request #431 from hellodword/repo_init_args
add repo init args
2023-08-30 20:43:17 +01:00
Yannik Sembritzki bde7c7666b Copy images from IMAGES directory (fixes #405) 2023-08-07 12:34:07 +02:00
Pete Fotheringham ba64ea53b0
build.sh: add dtbo super_empty vbmeta images to `zips` drectory 2023-07-31 08:52:45 +01:00
Pete Fotheringham 2c6bc1d3f5
Update build.sh - correct quoting in post-build.sh calls 2023-07-31 07:36:01 +01:00
Pete Fotheringham 0c98820f66
Update build.sh
Correct my shell errors
2023-07-29 18:27:55 +01:00
Pete Fotheringham a827de19e4
Update build.sh
Fix typo
2023-07-27 17:41:14 +01:00