Skip to content

Commit

Permalink
Add ChromeOS Image.fit to boot-patcher and build.py
Browse files Browse the repository at this point in the history
Signed-off-by: James Christopher Adduono <[email protected]>
  • Loading branch information
jcadduono committed Jan 11, 2017
1 parent 4b54a5c commit 39e782c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion nethunter-installer/boot-patcher/boot-patcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,11 @@ build_boot() {
kernel=
rd=
dtb=
for image in zImage zImage-dtb Image Image-dtb Image.gz Image.gz-dtb Image.lz4 Image.lz4-dtb; do
for image in \
zImage zImage-dtb Image Image-dtb \
Image.gz Image.gz-dtb Image.lz4 Image.lz4-dtb \
Image.fit
do
if [ -s $image ]; then
kernel=$image
print "Found replacement kernel $image!"
Expand Down
3 changes: 2 additions & 1 deletion nethunter-installer/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ def setupkernel():
'zImage', 'zImage-dtb',
'Image', 'Image-dtb',
'Image.gz', 'Image.gz-dtb',
'Image.lz4', 'Image.lz4-dtb'
'Image.lz4', 'Image.lz4-dtb',
'Image.fit'
]
kernel_found = False
for kernel_image in kernel_images:
Expand Down

0 comments on commit 39e782c

Please sign in to comment.