New issue
Advanced search Search tips

Issue 871841 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocked on:
issue 870529



Sign in to add a comment

Installation of system desktop files using xdg-desktop-menu fail

Project Member Reported by jkardatzke@chromium.org, Aug 7

Issue description

This causes installation of Mathematica to fail installing it's desktop file. The root cause is some weird requirement in xdg-desktop-menu where you need to have a /usr/share/desktop-directories directory in existence or it will fail to install a system .desktop file (there's various things you can find about it by searching for the error message:

"no writable system menu directory found"

Simple fix is to just create a /usr/share/desktop-directories directory as part of the garcon Debian package install.
 
Blockedon: 870529
Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 31

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/containers/cros-container-guest-tools/+/53b1b97730b2a8165e199658fe98c8c9c2bff464

commit 53b1b97730b2a8165e199658fe98c8c9c2bff464
Author: Jeffrey Kardatzke <jkardatzke@google.com>
Date: Fri Aug 31 22:08:51 2018

cros-garcon: Create /usr/share/desktop-directories

This fixes a bug with xdg-desktop-menu where it needs that directory to
exist if it is installing a system desktop menu file.

BUG= chromium:871841 
TEST=Verified installer creates the directory
CQ-DEPEND=CL:1191866

Change-Id: If63c772c323df09b52a357de817bd35552526145
Reviewed-on: https://chromium-review.googlesource.com/1191867
Commit-Ready: Jeffrey Kardatzke <jkardatzke@google.com>
Tested-by: Jeffrey Kardatzke <jkardatzke@google.com>
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/53b1b97730b2a8165e199658fe98c8c9c2bff464/cros-garcon/postinst
[modify] https://crrev.com/53b1b97730b2a8165e199658fe98c8c9c2bff464/cros-garcon/BUILD

Status: Fixed (was: Started)

Sign in to add a comment