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

Commit f56045b1 authored by Matt Mower's avatar Matt Mower Committed by Michael Bestas
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 4b7ec95e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -944,6 +944,7 @@ else if get_stage("%(bcb_dev)s") == "3/3" then
  # Dump fingerprints
  script.Print("Target: {}".format(target_info.fingerprint))

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

  system_progress = 0.75