Skip to content

Commit

Permalink
Merge pull request #103 from ignapk/r81
Browse files Browse the repository at this point in the history
Re-read loop device's partition table before pv
  • Loading branch information
sebanc authored May 2, 2020
2 parents c4cd535 + 57a73b6 commit 6576257
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/chromeos-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ if [[ $device = 1 ]]; then
fi
loopdevice=$(losetup --show -fP "$source")
sleep 5
partx -u "$loopdevice"
sleep 5
for (( i=1; i<=12; i++ )); do
echo "Writing partition $i"
case $i in
Expand Down

0 comments on commit 6576257

Please sign in to comment.