Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
device_xiaomi_sm8350-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid-Devices
device_xiaomi_sm8350-common
Commits
e6b03648
Commit
e6b03648
authored
3 years ago
by
Erfan Abdi
Committed by
Arian
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
sm8350-common: Drop unused releasetools
parent
88c208f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
BoardConfigCommon.mk
+0
-3
0 additions, 3 deletions
BoardConfigCommon.mk
releasetools.py
+0
-37
0 additions, 37 deletions
releasetools.py
with
0 additions
and
40 deletions
BoardConfigCommon.mk
+
0
−
3
View file @
e6b03648
...
...
@@ -204,9 +204,6 @@ TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS
:=
true
TARGET_USES_MKE2FS
:=
true
# Releasetools
TARGET_RELEASETOOLS_EXTENSIONS
:=
$(
COMMON_PATH
)
# RenderScript
OVERRIDE_RS_DRIVER
:=
libRSDriver_adreno.so
...
...
This diff is collapsed.
Click to expand it.
releasetools.py
deleted
100644 → 0
+
0
−
37
View file @
88c208f4
# Copyright (C) 2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import
common
def
FullOTA_InstallEnd
(
info
):
OTA_InstallEnd
(
info
)
return
def
IncrementalOTA_InstallEnd
(
info
):
OTA_InstallEnd
(
info
)
return
def
AddImage
(
info
,
basename
,
dest
):
path
=
"
IMAGES/
"
+
basename
if
path
not
in
info
.
input_zip
.
namelist
():
return
data
=
info
.
input_zip
.
read
(
path
)
common
.
ZipWriteStr
(
info
.
output_zip
,
basename
,
data
)
info
.
script
.
AppendExtra
(
'
package_extract_file(
"
%s
"
,
"
%s
"
);
'
%
(
basename
,
dest
))
def
OTA_InstallEnd
(
info
):
info
.
script
.
Print
(
"
Patching firmware images...
"
)
AddImage
(
info
,
"
dtbo.img
"
,
"
/dev/block/bootdevice/by-name/dtbo
"
)
AddImage
(
info
,
"
vbmeta.img
"
,
"
/dev/block/bootdevice/by-name/vbmeta
"
)
AddImage
(
info
,
"
vbmeta_system.img
"
,
"
/dev/block/bootdevice/by-name/vbmeta_system
"
)
return
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment