Closed
Bug 781868
Opened 13 years ago
Closed 13 years ago
B2G Updates: updater executable is linked against libmozglue.so
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: marshall, Assigned: marshall)
References
Details
Attachments
(1 file)
|
842 bytes,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
During the testing of B2G updates, sometimes the updater process would fail to remount /system as read-only because the linker had mem-mapped b2g.bak/libmozglue.so, marking the filesystem as busy.
Since updater doesn't actually required mozglue, we should remove it from the linking stage. Apparently this has already been fixed for desktop platforms, but Android and Gonk hard-code -lmozglue in WRAP_LDFLAGS, causing the MOZ_GLUE_LDFLAGS make variable to be ignored.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #650960 -
Flags: review?(ehsan)
Comment 2•13 years ago
|
||
Comment on attachment 650960 [details] [diff] [review]
v1
Review of attachment 650960 [details] [diff] [review]:
-----------------------------------------------------------------
This needs review from a build system peer.
Attachment #650960 -
Flags: review?(ehsan) → review?(khuey)
Comment on attachment 650960 [details] [diff] [review]
v1
Review of attachment 650960 [details] [diff] [review]:
-----------------------------------------------------------------
Do we need this for Android too?
Attachment #650960 -
Flags: review?(khuey) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #3)
> Do we need this for Android too?
I just chatted w/ mbrubeck and snorp, and it sounds like Android isn't using the standalone updater process. They have a custom APK based updater for nightly / aurora updates, and Google play for beta / release updates.
Comment 5•13 years ago
|
||
(In reply to comment #4)
> (In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #3)
> > Do we need this for Android too?
>
> I just chatted w/ mbrubeck and snorp, and it sounds like Android isn't using
> the standalone updater process. They have a custom APK based updater for
> nightly / aurora updates, and Google play for beta / release updates.
True, but I think we still want to fix this for Android as well, just as a matter of cleanliness, in the off chance that someone uses updater on Android for something in a far future. :-)
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Ehsan Akhgari [:ehsan] from comment #5)
> True, but I think we still want to fix this for Android as well, just as a
> matter of cleanliness, in the off chance that someone uses updater on
> Android for something in a far future. :-)
My main objection to this is that the standalone updater is not even built right now in Android. If they do need it in the future, couldn't we just create a follow up bug? See the Makefile.in in toolkit/mozapps/update [1].
https://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/Makefile.in#21
Comment 7•13 years ago
|
||
(In reply to Marshall Culpepper [:marshall_law] from comment #6)
> (In reply to Ehsan Akhgari [:ehsan] from comment #5)
> > True, but I think we still want to fix this for Android as well, just as a
> > matter of cleanliness, in the off chance that someone uses updater on
> > Android for something in a far future. :-)
>
> My main objection to this is that the standalone updater is not even built
> right now in Android. If they do need it in the future, couldn't we just
> create a follow up bug? See the Makefile.in in toolkit/mozapps/update [1].
>
> https://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/
> Makefile.in#21
Yep, I know. Which is why I talked about cleanliness not correctness. :-)
| Assignee | ||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•