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.
Created attachment 8477758 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/B2G/pull/380
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
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.