diff options
author | Matt Jolly <kangie@gentoo.org> | 2024-04-19 10:37:01 +1000 |
---|---|---|
committer | Matt Jolly <kangie@gentoo.org> | 2024-04-20 14:04:42 +1000 |
commit | 23f1ea3afd9541f8d6a409dcc8aa3d52a076e541 (patch) | |
tree | 50c779d329b711e629a4d1cac701d85da6add4d8 /www-client | |
parent | sys-fs/bcachefs-tools: drop 1.3.5_p20231216 (diff) | |
download | gentoo-23f1ea3afd9541f8d6a409dcc8aa3d52a076e541.tar.gz gentoo-23f1ea3afd9541f8d6a409dcc8aa3d52a076e541.tar.bz2 gentoo-23f1ea3afd9541f8d6a409dcc8aa3d52a076e541.zip |
www-client/chromium: add postinst warning
Missing '/etc/machine-id' on a systemd-booting system
is an indicator of a system configuration that is
known to cause "interesting" chromium-based browser
issues.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/chromium-125.0.6422.4.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/www-client/chromium/chromium-125.0.6422.4.ebuild b/www-client/chromium/chromium-125.0.6422.4.ebuild index c689e3abafef..8f0934a3f723 100644 --- a/www-client/chromium/chromium-125.0.6422.4.ebuild +++ b/www-client/chromium/chromium-125.0.6422.4.ebuild @@ -64,7 +64,7 @@ CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu sv sw ta te th tr uk ur vi zh-CN zh-TW" inherit check-reqs chromium-2 desktop flag-o-matic llvm ninja-utils pax-utils -inherit python-any-r1 qmake-utils readme.gentoo-r1 toolchain-funcs virtualx xdg-utils +inherit python-any-r1 qmake-utils readme.gentoo-r1 systemd toolchain-funcs virtualx xdg-utils DESCRIPTION="Open-source version of Google Chrome web browser" HOMEPAGE="https://www.chromium.org/" @@ -1436,4 +1436,12 @@ pkg_postinst() { elog "/etc/chromium/default." fi fi + + if systemd_is_booted && ! -f /etc/machine-id ; then + ewarn "The lack of an '/etc/machine-id' file on this system booted with systemd" + ewarn "indicates that the Gentoo handbook was not followed to completion." + ewarn "" + ewarn "Chromium is known to behave unpredictably with this system configuration;" + ewarn "please complete the configuration of this system before logging any bugs." + fi } |