Skip to content

Commit

Permalink
Merge pull request #437 from MilhouseVH/updatecleanup
Browse files Browse the repository at this point in the history
RPi: Add a cleanup step
  • Loading branch information
chewitt committed Jun 9, 2016
2 parents f2e85df + 92f0767 commit 61dbf48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/tools/bcm2835-bootloader/scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
# mount $BOOT_ROOT r/w
mount -o remount,rw $BOOT_ROOT

# Something has gone horribly wrong... clean up
[ -s $BOOT_ROOT/overlays ] || rm -fr $BOOT_ROOT/overlays $BOOT_ROOT/FSCK*.REC

# update bootloader files
cp -p $SYSTEM_ROOT/usr/share/bootloader/LICENCE* $BOOT_ROOT
cp -p $SYSTEM_ROOT/usr/share/bootloader/bootcode.bin $BOOT_ROOT
Expand Down

0 comments on commit 61dbf48

Please sign in to comment.