cros_workon error

60 views
Skip to first unread message

Jingwen Ye

unread,
May 9, 2022, 10:50:39 AM5/9/22
to Chromium OS Development
I modified my kernel (add some patched) and run cros_work --start --install to compile kernel. This step is sucessful.
But I forget something (kernel config modification) and added them. Then, I re-run  cros_work --start --install. But it showed the following errors.

(cr) ((c97e8a1...)) jingwen@IPG-L-jingwen ~/chromiumos/src/scripts $ export BOARD=amd64-generic
(cr) ((c97e8a1...)) jingwen@IPG-L-jingwen ~/chromiumos/src/scripts $ cros_workon --board=${BOARD} start chromeos-kernel-5_10
22:46:56.336: INFO: Autocompleted "chromeos-kernel-5_10" to: "sys-kernel/chromeos-kernel-5_10"
22:46:57.047: ERROR: Resolved sys-kernel/chromeos-kernel-5_10 to itself
22:46:57.047: ERROR: Error parsing package list


How to deal with it?

Nicholas Bishop

unread,
May 9, 2022, 12:04:53 PM5/9/22
to Jingwen Ye, Chromium OS Development
Hi, I think you might be conflating a couple different commands. "cros_workon start" needs to be run only once, this will switch the 9999 ebuild. Then "cros_workon_make --install" will build and install the package (run that each time you need to modify the build).

So the two commands you want are:
cros_workon start --board=${BOARD} chromeos-kernel-5_10

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-dev
---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.
Reply all
Reply to author
Forward
0 new messages