From 36a44f5e66f4ed4e798ce46a1ca644cbf6c729fa Mon Sep 17 00:00:00 2001 From: "Sascha Kuehndel (InuSasha)" Date: Thu, 14 Dec 2017 16:48:20 +0100 Subject: [PATCH] chromium: allow to run as root --- .../chromium/patches/chromium-0002-allow-root.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/addons/browser/chromium/patches/chromium-0002-allow-root.patch diff --git a/packages/addons/browser/chromium/patches/chromium-0002-allow-root.patch b/packages/addons/browser/chromium/patches/chromium-0002-allow-root.patch new file mode 100644 index 0000000000..eccfbbf87c --- /dev/null +++ b/packages/addons/browser/chromium/patches/chromium-0002-allow-root.patch @@ -0,0 +1,11 @@ +--- chromium-59.0.3071.109/./chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc.org 2017-06-26 20:32:34.907628561 +0200 ++++ chromium-59.0.3071.109/./chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc 2017-06-26 20:31:05.855206203 +0200 +@@ -99,7 +99,7 @@ + IMEDriver::Register(); + #endif + +-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) ++#if 0 + // On the Linux desktop, we want to prevent the user from logging in as root, + // so that we don't destroy the profile. Now that we have some minimal ui + // initialized, check to see if we're running as root and bail if we are.