New issue
Advanced search Search tips

Issue 772295 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

random chromeos-config-bsp/files No such file or directory errors

Project Member Reported by vapier@chromium.org, Oct 6 2017

Issue description

$ touch ~/trunk/src/third_party/chromiumos-overlay/chromeos-base/chromeos-firmware-null/*
$ emerge-amd64-generic -pv chromeos-firmware-null --nodeps -q
find: `/mnt/host/source/src/third_party/chromiumos-overlay/chromeos-base/chromeos-firmware-null/../chromeos-config-bsp/files': No such file or directory
find: `/mnt/host/source/src/third_party/chromiumos-overlay/chromeos-base/chromeos-firmware-null/../chromeos-config-bsp/files': No such file or directory
find: `/mnt/host/source/src/third_party/chromiumos-overlay/chromeos-base/chromeos-firmware-null/../chromeos-config-bsp/files': No such file or directory
find: `/mnt/host/source/src/third_party/chromiumos-overlay/chromeos-base/chromeos-firmware-null/../chromeos-config-bsp/files': No such file or directory
[ebuild     U ] chromeos-base/chromeos-firmware-null-0.0.3-r40 [0.0.3-r13] to /build/amd64-generic/ USE="-bootimage -cros_ec -cros_host -profiling -unibuild" 
 

Comment 1 by sjg@chromium.org, Oct 6 2017

Status: Started (was: Available)
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/ce75ed6756a7bd8f36f252c4d8b6bdeae83b148f

commit ce75ed6756a7bd8f36f252c4d8b6bdeae83b148f
Author: Simon Glass <sjg@chromium.org>
Date: Sat Oct 07 04:31:09 2017

cros-unibuild: Fix warnings when no BSP directory is found

Don't try to find files if there is no directory. This means we don't see
an error if someone omits the directory in the unibuild case, but they
will hopefully figure it out when they see no config files installed.

Also drop the unused config variable.

BUG= chromium:772295 
TEST=manual
$ touch ~/trunk/src/third_party/chromiumos-overlay/chromeos-base/\
chromeos-firmware-null/chromeos-firmware-null-*
$ emerge-amd64-generic chromeos-firmware-null --nodeps

See that there are no more messages of the form:
find: `/mnt/host/source/src/third_party/chromiumos-overlay/chromeos-base/\
chromeos-firmware-null/../chromeos-config-bsp/files': No such file or directory

$ emerge-coral chromeos-config-bsp chromeos-config
See that it shows:
 * Installing private-model.dtsi to /usr/share/chromeos-config/dts

Change-Id: I6a961e41c2f8320926b8c82e2187997e90707a83
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/705924
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/ce75ed6756a7bd8f36f252c4d8b6bdeae83b148f/eclass/cros-unibuild.eclass

Comment 3 by sjg@chromium.org, Oct 9 2017

Status: Fixed (was: Started)

Comment 4 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Comment 5 by dchan@chromium.org, Jan 23 2018

Status: Fixed (was: Archived)

Sign in to add a comment