[GitHub issue by cgjones on 2012-09-26T07:23:14Z, https://github.com/mozilla-b2g/gaia/issues/5202] CC @fabricedesre So https://bugzilla.mozilla.org/show_bug.cgi?id=785632 revealed a problem with our "user" build configuration: we install the /system apps on first-run, but we still have a prepopulated permissions DB. The permissions DB refers to apps with local ID 1..., but those apps are actually installed with IDs 1001... I had a hack to build/webapp-manifests.js that started assigning preinstall IDs at 1001 (instead of 1), but I realized that's badly wrong in eng builds because third-party apps will start being installed at ID 1001, colliding with the builtin apps. I don't really have a good idea of what to do here. To add a hack onto a hack, we could make the local ID assignment depend on which kind of build we're in, but ... yuck. How close is the real m-c fix?