Flash u-boot in image_pack_dist where applicable.
This commit is contained in:
parent
63163a0772
commit
56a3d4288d
|
|
@ -161,6 +161,14 @@ image_pack_dist() {
|
|||
sleep 1
|
||||
}
|
||||
|
||||
case "$device_name" in
|
||||
pinephone-dontbeevil)
|
||||
notice "dd-ing u-boot bootloader to image"
|
||||
sudo dd if="$R/dist/u-boot-sunxi-with-spl-sopine.bin" \
|
||||
of="$loopdevice" bs=1024 seek=8 || zerr
|
||||
;;
|
||||
esac
|
||||
|
||||
sudo partx -dv $loopdevice || {
|
||||
die "partx failed to remove $loopdevice"
|
||||
zerr
|
||||
|
|
|
|||
Loading…
Reference in New Issue