How can find the package name for certain source code?

Skip to first unread message

Seongbin BAK

Nov 19, 2021, 2:01:42 PM11/19/21
to Chromium OS Development
I have modified below 2 files in cros_sdk.
And I want to do cros_workon start ${PACKAGE_NAME}.

But I cannot find the PACKAGE_NAME.
And cros_workon --all info 
 $ cros_workon --board=amd64-generic --all info
cros_workon: Unhandled exception:
Traceback (most recent call last):
  File "/mnt/host/source/chromite/bin/cros_workon", line 208, in <module>
  File "/mnt/host/source/chromite/bin/cros_workon", line 204, in DoMain
  File "/mnt/host/source/chromite/lib/", line 1037, in ScriptWrapperMain
    ret = target(argv[1:])
  File "/mnt/host/source/chromite/scripts/", line 90, in main
  File "/mnt/host/source/chromite/lib/", line 675, in GetPackageInfo
    src_paths = ebuild_obj.GetSourceInfo(src_root, manifest).srcdirs
  File "/mnt/host/source/chromite/lib/", line 868, in GetSourceInfo
chromite.lib.portage_util.Error: Source repository /mnt/host/source/src/aosp/external/perfetto for project perfetto-protos does not exist.

Also couldn't find any significant info in ebuild files.
$ grep -rn "labpack" /mnt/host/source/src/third_party/chromiumos-overlay

So how can find the package name for certain source code?
Thank you in advance for advice/idea.

Bob Moragues

Nov 19, 2021, 4:18:44 PM11/19/21
to Seongbin BAK, Chromium OS Development
(cr) (factory-strongbad-13963.B/(69e2e8894c...)) moragues@moragues-cloud ~/trunk/src/overlays $ equery-trogdor b
 * Searching for ...
chromeos-base/autotest-0.0.2-r14045 (/usr/local/build/autotest/server/cros/tradefed/

Chromium OS Developers mailing list:
View archives, change email options, or unsubscribe:
To unsubscribe from this group and stop receiving emails from it, send an email to
Reply all
Reply to author
0 new messages