This speeds up installation dramatically on slow disks, and may reduce wear on solid state storage.
Portage will call 'sync' after installation if FEATURES="merge-sync" is enabled, so the risk should be small. Closes: https://bugs.gentoo.org/819783 Signed-off-by: Mike Gilbert <flop...@gentoo.org> --- eclass/xdg-utils.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/xdg-utils.eclass b/eclass/xdg-utils.eclass index 35084fc8164..a834d5d3acc 100644 --- a/eclass/xdg-utils.eclass +++ b/eclass/xdg-utils.eclass @@ -125,6 +125,9 @@ xdg_mimeinfo_database_update() { return fi + # https://bugs.gentoo.org/819783 + local -x PKGSYSTEM_ENABLE_FSYNC=0 + ebegin "Updating shared mime info database" update-mime-database "${EROOT%/}${MIMEINFO_DATABASE_DIR}" eend $? -- 2.33.1