Skip to content

topic:mirror-generator-modernize#81

Open
lifehackerhansol wants to merge 5 commits intolineageos-infra:mainfrom
lifehackerhansol:main
Open

topic:mirror-generator-modernize#81
lifehackerhansol wants to merge 5 commits intolineageos-infra:mainfrom
lifehackerhansol:main

Conversation

@lifehackerhansol
Copy link

Note this PR contains a cherry-pick from #51 (with a commit message overhaul).

Han Sol Jin and others added 2 commits May 27, 2024 17:27
- Import `re`
- No bare `except`
- Space before colon in lambda

Signed-off-by: Han Sol Jin <[email protected]>
@lifehackerhansol
Copy link
Author

mmm, should I be signing off the cherry-picked commit too?

Han Sol Jin and others added 3 commits May 27, 2024 20:20
- `filepath` and `filename` are the same thing, just use `filename`
- `BASE_PATH` and `FILE_BASE` are the same thing, just use `BASE_PATH`
- Account for possibility that `BASE_PATH` may not have a trailing
  slash

Signed-off-by: Han Sol Jin <[email protected]>
Since Oreo, there is no `system/build.prop`, it is packaged into
`system.new.dat`. So timestamp generation hasn't worked for years now.

The OTA metadata on the other hand stores this timestamp (called
`post-timestamp`), so let's parse that instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant