how to add chromium into chrominum-os

131 views
Skip to first unread message

zhuif...@163.com

unread,
Nov 25, 2013, 7:51:34 AM11/25/13
to chromiu...@chromium.org
Hi ,

I have built chromium(brower) in ubuntu 12.04,  it runs well in ubuntu; 

And I  have also built chromium-os in ubuntu 12.04, it can boot  my computer with usb;

Now ,I modify some chromium source code,so I want to add chromium into chromium-os,but I don't know how to do?

Can you give me some suggestions,thank you for your reply in advance!

Daniel Erat

unread,
Nov 25, 2013, 10:28:07 AM11/25/13
to zhuif...@163.com, Chromium OS dev

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
 

Peter Mayo

unread,
Nov 25, 2013, 10:28:27 AM11/25/13
to zhuif...@163.com, Chromium OS dev
Hi ,


From having built both, the actual story is told in the chromium ebuild file, so depending on how you built each you can pass flags along to get the chromium-os to include the same source code as you built and (mostly) tested on the host built into the device image.

Hope that helps,
Peter.


--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
 

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.

zhuif...@163.com

unread,
Nov 27, 2013, 10:07:39 AM11/27/13
to chromiu...@chromium.org, zhuif...@163.com, pete...@chromium.org
Hi Peter,

 find some question:

1.when command is :cros chrome-sdk --board=x86-generic  ,x86-generic is my chromium board name.
 
             15:13:44: ERROR: External boards are not supported due to http://crbug.com/236500


2.when command is : cros chrome-sdk --board=butterfly ,butterfly is HP chromebook's board name.

          15:28:38: INFO: Installing Goma.
          15:28:40: ERROR: Goma: Failed to fetch Goma.  Bypass by running with --nogoma.
          cros: Unhandled exception:
          Traceback (most recent call last):
          File "/home/w/chromiumos_src_trunk/src/third_party/chromite/bin/cros", line 121, in <module>
                     commandline.ScriptWrapperMain(FindTarget)
         File "/home/w/chromiumos_src_trunk/src/third_party/chromite/lib/commandline.py", line 461, in ScriptWrapperMain
                     ret = target(argv[1:])
          File "/home/w/chromiumos_src_trunk/src/third_party/chromite/scripts/cros.py", line 53, in main
                     code = _RunSubCommand(subcommand)
          File "/home/w/chromiumos_src_trunk/src/third_party/chromite/scripts/cros.py", line 31, in _RunSubCommand
                      return subcommand.Run()
         File "/home/w/chromiumos_src_trunk/src/third_party/chromite/cros/commands/cros_chrome_sdk.py", line 838, in Run
                     with self.sdk.Prepare(components, version=prepare_version) as ctx:
         File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
                     return self.gen.next()
         File "/home/w/chromiumos_src_trunk/src/third_party/chromite/cros/commands/cros_chrome_sdk.py", line 308, in Prepare
                    metadata = self._GetMetadata(version)
         File "/home/w/chromiumos_src_trunk/src/third_party/chromite/cros/commands/cros_chrome_sdk.py", line 110, in _GetMetadata
                   version_base = self._GetVersionGSBase(version)
        File "/home/w/chromiumos_src_trunk/src/third_party/chromite/cros/commands/cros_chrome_sdk.py", line 266, in _GetVersionGSBase
                  full_version = self.GetFullVersion(version)
        File "/home/w/chromiumos_src_trunk/src/third_party/chromite/cros/commands/cros_chrome_sdk.py", line 247, in GetFullVersion
                 raise SDKError('Invalid version %s' % version)
      cros_chrome_sdk.SDKError: Invalid version 5005.0.0


my chromium-os build for x86-generic,and my test pc is HP  Pavilion Chromebook.can you tell me what should I do in  detail ?

thank you very much!

David James

unread,
Dec 5, 2013, 6:30:51 PM12/5/13
to zhuif...@163.com, Chromium OS dev, pete...@chromium.org
I think you'll need to wait until Bug http://crbug.com/236500 is fixed. I am working on it now and once it's done you should be able to build with --board=x86-generic
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages