Skip to content

Commit

Permalink
Backend: fixup now that mount_apex direct .img mount works
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis committed May 24, 2023
1 parent 7ea57ac commit f4cbd4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ umount_apex() {
for dest in $(find /apex -type d -mindepth 1 -maxdepth 1); do
loop=$(mount | grep $dest | grep loop | cut -d\ -f1);
umount -l $dest;
[ "$loop" ] && losetup -d $loop;
losetup $loop >/dev/null 2>&1 && losetup -d $loop;
done;
[ -f /apex/apextmp ] && umount /apex;
rm -rf /apex/apexak3 /apex 2>/dev/null;
Expand Down
2 changes: 1 addition & 1 deletion META-INF/com/google/android/updater-script
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
#
#
# AK_BASE_VERSION=20230506
# AK_BASE_VERSION=20230524

0 comments on commit f4cbd4b

Please sign in to comment.