Adding Gentoo overlays to ChromeOS

186 views
Skip to first unread message

Ihor Dvoretskyi

unread,
Mar 9, 2016, 8:01:37 PM3/9/16
to Chromium OS discuss
As ChromeOS is being based on Gentoo, is it possible to add third-party overlays to it (and install software using emerge tool).

And globally, is it possible to use portage to install some third-party software (not only that, that is being installed by "dev_install")?

Thank you.

Ihor Dvoretskyi

unread,
Mar 9, 2016, 8:03:01 PM3/9/16
to Chromium OS discuss
Minor update - I have Chromebook Pixel LS with 64GB SSD, so storage space should be enough.

Mike Frysinger

unread,
Mar 9, 2016, 8:33:31 PM3/9/16
to ihor.dv...@gmail.com, Chromium OS discuss
you can, but you need to get a full checkout of Chromium OS and do your own builds.  you can't build on the device generally speaking.
-mike

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


Ihor Dvoretskyi

unread,
Mar 9, 2016, 8:35:45 PM3/9/16
to Chromium OS discuss, ihor.dv...@gmail.com
Why so? Could you please define the limitations to perform it?

Mike Frysinger

unread,
Mar 9, 2016, 8:39:01 PM3/9/16
to ihor.dv...@gmail.com, Chromium OS discuss
we don't currently include a compiler in the binary packages available via dev_install

but yes, resources are a big concern: disk/cpu/ram are usually not up to snuff for building a lot of things.

that isn't to say we wouldn't be against making something like gcc available ... just no one has done it.
-mike

Ihor Dvoretskyi

unread,
Mar 9, 2016, 9:15:44 PM3/9/16
to Chromium OS discuss, ihor.dv...@gmail.com
Are there any workarounds how to solve this?

Mike Frysinger

unread,
Mar 9, 2016, 9:30:57 PM3/9/16
to ihor.dv...@gmail.com, Chromium OS discuss
building on the device ?  not really.  you could always download a Gentoo stage3 and just treat it like a normal chroot.
-mike

Ihor Dvoretskyi

unread,
Mar 9, 2016, 9:56:44 PM3/9/16
to Chromium OS discuss, ihor.dv...@gmail.com
Is this a correct tutorial?

If no, couldn't you provide me with a correct one?

Mike Frysinger

unread,
Mar 10, 2016, 9:25:10 AM3/10/16
to ihor.dv...@gmail.com, Chromium OS discuss
no, that's for bootstrapping a full CrOS build env

just download a Gentoo stage3 release from gentoo.org, unpack it into /usr/local/ somewhere, and then use `mount --bind` to set up /dev and such & chroot into it.  then run whatever you want inside of there.
-mike

Ihor Dvoretskyi

unread,
Mar 12, 2016, 9:11:24 PM3/12/16
to Chromium OS discuss, ihor.dv...@gmail.com
Am I correct, that I should follow a part of this guide?

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base
Reply all
Reply to author
Forward
0 new messages