The reason why we had that flag was because some of the older devices didn't have enough partition space on the system to include all the system webapps on the partition and we needed a way to push it to the data partition instead. ( https://bugzilla.mozilla.org/show_bug.cgi?id=1066005 )
By default, I think the B2G_SYSTEM=1 at least for PRODUCTION=1 : http://mxr.mozilla.org/gaia/source/Android.mk#24 The reason why we decided against not having system apps on the system partition is that reseting the device would wipe out all the system apps as it wipes out anything in the userdata partition. Regards, Naoki On Fri, Nov 13, 2015 at 1:29 PM, Paul Aguilar < [email protected]> wrote: > Hi guys! > > Then for old devices I should use "B2G_USERDATA_APPS=1" , Im still > compiling for AOTF (Hamachi) and ZTE Open (Inari) and trying for Keon, so > that devices have a small system partition and in LATAM we still use this > devices. > > Regards! > > > Subject: Re: Building: What is (was?) the usecase for webapps on > userdata partition? > > To: [email protected] > > From: [email protected] > > Date: Fri, 13 Nov 2015 09:07:35 -0800 > > > > > On 11/13/2015 08:14 AM, Adam Farden wrote: > > > MDN currently states that when building Firefox OS the webapps are on > > > the userdata partition. For a long time I've been building > > > with B2G_SYSTEM_APPS=1 because I have large system partitions. > > > > > > What is the purpose of having all webapps on userdata partition? Was it > > > necessary for old devices with small partitions, but is now generally > > > obsolete due to advances in storage size over the years? > > > > Old devices didn't have enough space on the system partition to hold all > > the apps in eng mode (ie. all the testing apps). I don't think this is > > the case anymore for any device we care about. > > > > > If it's something obsolete then I suggest we switch the logic so that > > > everything is on system partition as the default, older devices can > > > build with B2G_USERDATA_APPS=1 > > > > > > If there's still need for userdata webapps as the default I'd like to > at > > > least update MDN to explain why. > > > > I'm not opposed to changing that, but I'm surprised this is not the > > default for non engineering builds. I kind of remember that we changed > > that a while ago. > > > > Fabrice > > -- > > Fabrice Desré > > b2g team > > Mozilla Corporation > > _______________________________________________ > > dev-fxos mailing list > > [email protected] > > https://lists.mozilla.org/listinfo/dev-fxos > > _______________________________________________ > dev-fxos mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-fxos > >
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

