mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 22:31:51 +00:00
Bugfix on uboot writing, thanks @ChrisK
This commit is contained in:
parent
3e0da7ead4
commit
1b8e6c194e
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ write_uboot()
|
||||||
display_alert "Writing bootloader" "$loop" "info"
|
display_alert "Writing bootloader" "$loop" "info"
|
||||||
mkdir -p /tmp/u-boot/
|
mkdir -p /tmp/u-boot/
|
||||||
dpkg -x ${DEST}/debs/${CHOSEN_UBOOT}_${REVISION}_${ARCH}.deb /tmp/u-boot/
|
dpkg -x ${DEST}/debs/${CHOSEN_UBOOT}_${REVISION}_${ARCH}.deb /tmp/u-boot/
|
||||||
write_uboot_platform "/tmp/usr/lib/${CHOSEN_UBOOT}_${REVISION}_${ARCH}" "$loop"
|
write_uboot_platform "/tmp/u-boot/usr/lib/${CHOSEN_UBOOT}_${REVISION}_${ARCH}" "$loop"
|
||||||
[[ $? -ne 0 ]] && exit_with_error "U-boot failed to install" "@host"
|
[[ $? -ne 0 ]] && exit_with_error "U-boot failed to install" "@host"
|
||||||
rm -r /tmp/u-boot/
|
rm -r /tmp/u-boot/
|
||||||
sync
|
sync
|
||||||
|
|
Loading…
Add table
Reference in a new issue