[oe] [meta-browser][PATCH 2/3] chromium: update run script for early run

Koen Kooi koen at dominion.thruhere.net
Wed Jan 6 12:07:35 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 05-01-16 om 22:15 schreef Trevor Woerner:
> If the chromium run-helper script (google-chrome) is run as part of a 
> (sysvinit) init script, shell variables $USER and $HOME will not be set 
> (leading to unwanted behaviour).
> 
> Replace the use of $USER with `whoami` and replace the use of $HOME with
> the OE bitbake variable ROOT_HOME.
> 
> In this way the chromium run-helper script will work as expected in both 
> instances (as part of an init script and from the cmdline).

Doesn't this break running chrome as a regular non-root user?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFWjQOHMkyGM64RGpERAoGFAJ9QCcfdD8qzAo/Orq/cWJFrBBLfrwCggkqR
PUswbLTWhJPanSY8u/1kfGM=
=4mmY
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list