Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8beac45f authored by Matt Mower's avatar Matt Mower Committed by Sam Mortimer
Browse files

build: Ensure /system unmounted at install start

Account for the possibility that a user has mounted system manually
before installing the FullOTA package.

Change-Id: I97d0540676a7ce98762545e76ecb1a7f6335d204
parent 53329d80
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -461,6 +461,7 @@ else if get_stage("%(bcb_dev)s") == "3/3" then
  # Dump fingerprints
  script.Print("Target: %s" % target_fp)

  script.AppendExtra("ifelse(is_mounted(\"/system\"), unmount(\"/system\"));")
  device_specific.FullOTA_InstallBegin()

  system_progress = 0.75