1From 1d75677445177bc9c16bb7d0fae607d0c5e82c0a Mon Sep 17 00:00:00 2001 2From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 3Date: Wed, 8 Nov 2017 16:43:47 +0100 4Subject: [PATCH] wrapper: extra flags 5 6The patch below is used to allow running Chromium as root as well as passing 7extra flags to it by default. 8 9Upstream-Status: Inappropriate [embedder specific] 10 11Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 12 13--- 14 chrome/installer/linux/common/wrapper | 4 +++- 15 1 file changed, 3 insertions(+), 1 deletion(-) 16 17diff --git a/chrome/installer/linux/common/wrapper b/chrome/installer/linux/common/wrapper 18index 20c6e8fe29..d92a60b5f3 100755 19--- a/chrome/installer/linux/common/wrapper 20+++ b/chrome/installer/linux/common/wrapper 21@@ -45,5 +45,7 @@ exec < /dev/null 22 exec > >(exec cat) 23 exec 2> >(exec cat >&2) 24 25+CHROME_EXTRA_ARGS="" 26+ 27 # Note: exec -a below is a bashism. 28-exec -a "$0" "$HERE/@@PROGNAME@@" "$@" 29+exec -a "$0" "$HERE/@@PROGNAME@@" ${CHROME_EXTRA_ARGS} "$@" 30