Skip to content

Commit

Permalink
Updatershell: Add new model
Browse files Browse the repository at this point in the history
  • Loading branch information
ma1co committed Apr 8, 2022
1 parent 0c1097d commit 7183140
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions updatershell/fdat/CXD4105/HDR-CX106.hdr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��NE��-���pzn�׮ ���-%X�ȡ��Z!ٽ�C(_��+�j
5 changes: 4 additions & 1 deletion updatershell/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def mkdirs(path):
pass

bodyFiles = {
'MB8AC102': 'libupdaterbody_gen1.so',
'CXD4105': 'libupdaterbody_gen1.so',
'CXD4115': 'libupdaterbody_gen1.so',
'CXD4120': 'libupdaterbody_gen1.so',
'CXD4132': 'libupdaterbody_gen2.so',
Expand All @@ -41,6 +41,9 @@ def mkdirs(path):

dataDict = {}
for name, config in devices.items():
if config['arch'] == 'MB8AC102':
config['arch'] = 'CXD4105'

fsFile = io.BytesIO()
with open(buildDir + '/' + bodyFiles[config['arch']], 'rb') as f:
cramfs.writeCramfs([UnixFile(
Expand Down

0 comments on commit 7183140

Please sign in to comment.