File chromium-master-prefs-path.patch of Package chromium
Index: chromium/src/chrome/browser/first_run/first_run_linux.cc
===================================================================
--- chromium.orig/src/chrome/browser/first_run/first_run_linux.cc
+++ chromium/src/chrome/browser/first_run/first_run_linux.cc
@@ -71,8 +71,7 @@ void AutoImport(
base::FilePath MasterPrefsPath() {
// The standard location of the master prefs is next to the chrome binary.
base::FilePath master_prefs;
- if (!PathService::Get(base::DIR_EXE, &master_prefs))
- return base::FilePath();
+ master_prefs = base::FilePath("/etc/chromium");
return master_prefs.AppendASCII(installer::kDefaultMasterPrefs);
}