Bug 679987 - [CGroups] fennec and plugin-container need to be both boosted on foreground. r=dougt
authorOleg Romashin <romaxa@gmail.com>
Fri, 19 Aug 2011 12:47:03 +0200
changeset 76861 d7591e5884e5ec46cbea7cef45461e50e8a95c10
parent 76860 ce93c26d1ec3df8c6da512ccf2d72080e41b8dd0
child 76862 d58d8fc0689727288a2e5ed980f3defcef9b14d0
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs679987
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 679987 - [CGroups] fennec and plugin-container need to be both boosted on foreground. r=dougt
mobile/installer/Makefile.in
mobile/installer/debian/fennec.policy.in
--- a/mobile/installer/Makefile.in
+++ b/mobile/installer/Makefile.in
@@ -184,16 +184,17 @@ PP_DEB_FILES += debian/fennec.aegis \
                $(NULL)
 endif
 ifeq ($(MOZ_PLATFORM_MAEMO),6)
 PP_DEB_FILES += debian/backup \
                 debian/restore \
 		 debian/fennec.conf \
 		 debian/fennec-cud.sh \
 		 debian/fennec-rfs.sh \
+		 debian/fennec.policy \
                 $(NULL)
 endif
 
 $(PP_DEB_FILES):
 	@$(EXIT_ON_ERROR) \
 	for f in $(PP_DEB_FILES); do \
            src=$(srcdir)/debian/`basename $$f`.in; \
 	   echo $$src ">" $$f ;\
@@ -219,17 +220,18 @@ ifeq ($(MOZ_PLATFORM_MAEMO),6)
 	$(NSINSTALL) -D $(DEBDESTDIR)/usr/share/$(MOZ_APP_NAME)
 	$(NSINSTALL) -D $(DEBDESTDIR)/etc/osso-cud-scripts
 	$(NSINSTALL) -D $(DEBDESTDIR)/etc/osso-rfs-scripts
 	$(NSINSTALL) -m 755 debian/backup  $(DEBDESTDIR)/usr/share/$(MOZ_APP_NAME)/
 	$(NSINSTALL) -m 755 debian/restore $(DEBDESTDIR)/usr/share/$(MOZ_APP_NAME)/
 	cp debian/$(MOZ_APP_NAME).conf $(DEBDESTDIR)/usr/share/backup-framework/applications/$(MOZ_APP_NAME).conf
 	cp debian/$(MOZ_APP_NAME)-cud.sh $(DEBDESTDIR)/etc/osso-cud-scripts/$(MOZ_APP_NAME)-cud.sh
 	cp debian/$(MOZ_APP_NAME)-rfs.sh $(DEBDESTDIR)/etc/osso-rfs-scripts/$(MOZ_APP_NAME)-rfs.sh
-
+	$(NSINSTALL) -D $(DEBDESTDIR)/usr/share/policy/etc/syspart.conf.d
+	cp debian/$(MOZ_APP_NAME).policy $(DEBDESTDIR)/usr/share/policy/etc/syspart.conf.d/$(MOZ_APP_NAME)
 else
 	$(NSINSTALL)  debian/$(MOZ_APP_NAME).desktop $(DEBDESTDIR)/usr/share/applications/hildon/
 	$(NSINSTALL) -D $(DEBDESTDIR)/usr/share/dbus-1/services/
 	cp debian/$(MOZ_APP_NAME).service $(DEBDESTDIR)/usr/share/dbus-1/services/org.mozilla.$(MOZ_APP_NAME).service
 	$(NSINSTALL) -D $(DEBDESTDIR)/usr/share/icons/hicolor/scalable/hildon/
 	cp $(DIST)/branding/$(MOZ_APP_NAME)_scalable.png $(DEBDESTDIR)/usr/share/icons/hicolor/scalable/hildon/$(MOZ_APP_NAME).png
 	$(NSINSTALL) -D $(DEBDESTDIR)/usr/share/icons/hicolor/26x26/hildon/
 	cp $(DIST)/branding/$(MOZ_APP_NAME)_26x26.png $(DEBDESTDIR)/usr/share/icons/hicolor/26x26/hildon/$(MOZ_APP_NAME).png
new file mode 100644
--- /dev/null
+++ b/mobile/installer/debian/fennec.policy.in
@@ -0,0 +1,4 @@
+#filter substitution
+[classify browser]
+@installdir@/@MOZ_APP_NAME@
+@installdir@/plugin-container