Closed Bug 1019638 Opened 10 years ago Closed 10 years ago

Disabling DMD after enabling DMD doesn't stop DMD from running

Categories

(Core :: DMD, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kats, Assigned: erahm)

Details

Attachments

(1 file)

After getting a reboot loop when enabling DMD (see bug 1019634) on Flame, I decided to disable DMD and go back to a regular build. I removed the MOZ_DMD line from my userconfig and did a clean gecko build (rm -rf objdir-gecko && ./build.sh gecko && ./flash.sh gecko). However this didn't stop gecko from starting up with DMD enabled. I had to manually delete /system/b2g/libdmd.so from the phone to make it stop it's reboot loop. I think the flash script should delete libdmd.so if gecko was built without DMD.
Assignee: nobody → erahm
Status: NEW → ASSIGNED
Why is updater specifically not deleted?
(In reply to Michael Wu [:mwu] from comment #2)
> Why is updater specifically not deleted?

I wasn't sure what it was and it didn't seem to be building on my machine (I assume it came from the base image and shouldn't be removed), if it should be deleted I can remove the if.
Comment on attachment 8477758 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/B2G/pull/380

I think this should be fine as long as we remove the special case for updater.

We can also simplify the command since we're not trying to delete a bunch of files at once -

run_adb shell "rm /system/b2g/$to_remove" > /dev/null
Attachment #8477758 - Flags: review?(mwu)
Comment on attachment 8477758 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/B2G/pull/380

PR has been updated with suggested changes.
Attachment #8477758 - Flags: review?(mwu)
Attachment #8477758 - Flags: review?(mwu) → review+
https://github.com/mozilla-b2g/B2G/commit/c438ab6adf3dc517a703bed36791a64bbb693c83
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: