Talk:Embedded Handbook/General/Cross-compiling with Portage

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Installing to a different ROOT

Talk status
This discussion is still ongoing.

We can use these tools for both installing into your development root (sysroot) and into your runtime root. For the latter, simply specify by using the --root option.

The part about installing to a different ROOT looks like it is not valid anymore, since EAPI 7 enforces that SYSROOT must match ROOT when cross-compiling[1]

It is still possible to do this if both `--root` and `--sysroot` options are given, but the target directory should have /etc/portage/make.profile link.

Should it be updated?

--Axkn (talk) 21:46, 5 April 2021 (UTC)