summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-20add license notice filebrillo-m7-releasebrillo-m7-mr-devbrillo-m7-devMike Frysinger
Change-Id: I86a3679e414c833abb59ef089355bd9a65e8cb8d
2015-10-09add config.{sub,guess} copies for automatic updatesMike Frysinger
The current portage code only looks in /usr/share/gnuconfig/ for these files. Add our own local copies and update from there until we figure out a better solution. BUG=24805381 TEST=emerge glob now passes (and config.sub doesn't abort) Change-Id: I6355504d4a50d7e647a21ade5eb26cff604fd68c
2015-10-05Allow virtuals in package.providedMike Frysinger
With new-style virtuals, there is no reason to enforce special rules to virtuals in package.provided. If user wishes to implicitly provide the virual package, we should not forbid him. Of course, he knows the implications. This is upstream commit e3366b392c76249ead2ef947b275eb5bba99bc1e. BUG=24614250 TEST=added virtual/libc-0 to package.provided and it worked Change-Id: Iddb17763b62eed6087c8f954568167d4078330b7
2015-10-023rd-party-merge: helper tool to merge packages to /systemMike Frysinger
Rather than merge all of the files, parse the CONTENTS ourselves and copy in a reduced subset of things. Change-Id: I5e2f258d3f70896b2b80ca2124a90044920d5a99
2015-10-02wrapper: pass runtime settings down hereMike Frysinger
Previously we set these variables in the generated config, but that meant things did not adapt on the fly to changing behavior. So if you tried to move the code from one user to another, you'd have to regenerate things. Instead, just detect it from the active env. This makes things a little more robust as well. BUG=24614250 TEST=building packages works w/out errors Change-Id: I563fef50d9e15c19769b570e33e8688d425521ec
2015-10-02ebuild: pass through android variablesMike Frysinger
Android exports a bunch of env vars to set the location of source code. Make sure we pass those down as the 3rd party compiler relies on it. BUG=24614250 TEST=building packages works w/out errors Change-Id: Ib0e1741626b9ad25a49ef2c8abf7494e2efc8a27
2015-10-02make.profile: change to standard amd64 developerMike Frysinger
Since we've switched to the upstream Gentoo overlay, we have to use the standard amd64 profile instead of the custom CrOS sdk one. BUG=24614250 TEST=building packages works w/out errors Change-Id: I302b638de2217b847b4c9847fb11865fe203906f
2015-06-05move user/group settings to setup_boardMike Frysinger
Update a few more hardcoded cases to use the active user details rather than the compile-time constants. BUG=b:20895978
2015-06-02make.defaults: negative incrementals in USE_EXPAND (530222)Mike Frysinger
Previously, USE_EXPAND variable settings in profile make.defaults only supported positive incremental settings. This patch adds support for negative settings like PYTHON_TARGETS="-python3_3", which brings behavior into alignment with PMS. Notably, this patch does not change behavior for settings in make.conf. In make.conf, settings to USE_EXPAND variables remain entirely non-incremental. PMS does not govern make.conf behavior. X-Gentoo-Bug: 530222 X-Gentoo-Url: https://bugs.gentoo.org/show_bug.cgi?id=530222 Acked-by: Brian Dolbec <dolsen@gentoo.org> (cherry picked from commit b9c06a6a2dd4ccc875f8b9dd3139ea582e1e5621)
2015-06-02setup_board: add more varsMike Frysinger
BUG=b:20895978
2015-05-31add a script to generate the sysrootMike Frysinger
Example usage: $ ./src/third_party/portage-prefix/setup_board --board bruteus $ ./build/bruteus/build/bin/emerge android-base/zlib BUG=b:20895978 Change-Id: I9a0d270e164703d775c69c570ac92976dad4f881
2015-05-31wrapper: set EPREFIX by defaultMike Frysinger
Portage is a bit limited in where it can have this variable set. Stick it in the environment for all tools as that seems to work. BUG=b:20895978 Change-Id: I4342ba198c70b92aa870edad0b560470747cd738
2015-05-31add config settings for the sdk portageMike Frysinger
BUG=b:20895978 Change-Id: I4edce5e6c17ee09cbe65798ffcb829a3573d9496
2015-05-31rewrite make.globals to use EPREFIXMike Frysinger
BUG=b:20895978 Change-Id: Id1877bb64ae6f3e1c7a048bd07e94fbad2f70827
2015-05-31obtain account details from the active userMike Frysinger
BUG=b:20895978 Change-Id: I09336a666e5c84af4a1c8f20509654d878df6e41
2015-05-31make internal script paths relocatableMike Frysinger
BUG=b:20895978 Change-Id: I3e80a9606dc17c7e57e0c3d84651d8e160ccba27
2015-05-31config: skip missing profiles/repo_name warning when using layout.conf:repo-nameMike Frysinger
The repo name is considered missing if there is no explicit "repo_name" file. But if it's set in layout.conf via repo-name, we can skip that. Otherwise we end up with copy & paste spew. BUG=b:20895978 Change-Id: I0ef4ff773e1d666b1e9d1b06b1191ce6b3755806
2015-05-31trim unused config files that just get in the wayMike Frysinger
We want our config files in /etc so move the few we care about there. BUG=b:20895978 Change-Id: I10f85e7feec0770b097147e695b965069e9d24a1
2015-05-31add a relocatable wrapper for the portage programsMike Frysinger
BUG=b:20895978 Change-Id: I1707bd1ea61e3b939bd875613dcf1d8c116a215a
2015-05-31ignore various filesMike Frysinger
BUG=b:20895978 Change-Id: Ifbf8da40766ed3a6207f2e266cfd90cd6502d2be
2015-05-31initial importMike Frysinger
This is the portage-prefix-2.2.14 release set up like: ./configure \ --prefix=/usr/local/google/home/vapier/src/android/mdk/build/portage/tmp/prefix-portage-2.2.14/destdir/usr \ --with-portage-user=vapier \ --with-portage-group=eng \ --with-offset-prefix=/usr/local/google/home/vapier/src/android/mdk/build/portage/tmp/prefix-portage-2.2.14/destdir It does not work as-is; follow up commits will make it more usable. BUG=b:20895978 Change-Id: I03d3de254bf9f7c3204bd6ac7254c15476b08ba7
2015-09-30Initial empty repositoryBill Rassieur