Skip to content

Commit

Permalink
ayufan: rock64: scripts: support upgrade on loop
Browse files Browse the repository at this point in the history
Change-Id: I7277b6986f778ed75610e1c2c5a903e81cd587ca
  • Loading branch information
ayufan committed Jul 5, 2018
1 parent a76a934 commit 39caa9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi
MNT_DEV=$(findmnt /boot/efi -n -o SOURCE)

case $MNT_DEV in
/dev/mmcblk*p6|/dev/sd*p6)
/dev/mmcblk*p6|/dev/sd*p6|/dev/loop*p6)
dd if=$LOADER of="${MNT_DEV/p6/p1}"
;;

Expand Down

0 comments on commit 39caa9d

Please sign in to comment.