Commit Graph

151 Commits

Author SHA1 Message Date
mudler 23d9c86cae [builder] minor changes, fix to virtual's dependencies exclusion 2016-03-06 19:42:59 +01:00
Ettore Di Giacinto c7d05296f9 Merge pull request #5 from optiz0r/feature_handle_virtual_dependencies
Don't install dependencies brought in by virtual packages
2016-03-06 19:41:22 +01:00
Ben Roberts 1c29cba964 Don't install dependencies brought in by virtual packages
When calculating the missing dependencies for an ebuild to be installed
by entropy, it's necessary to walk two levels deep minimum to handle meta
packages and split ebuilds. This has a nasty side effect for virtual packages
since all the potential candidates that could satisfy the virtual are
included. This means for anything that has a dependency on virtual/jdk, every
possible jdk is installed side-by-side. For anything that depends on
virtual/mta, every possible mta is installed one by one (because these conflict
and substitute each other, each subsequent install uninstalls the previous
package which is a massive waste of time, bandwidth and effort).

This commit walks through the dependency list looking for any virtual packages.
For each one, the first-level dependencies of the virtual are collected. Only
dependencies of the target package which are not also dependencies of the virtual
are installed. This means only one package that satisfies the virtual will end up
being installed.
2016-03-06 17:35:53 +00:00
mudler 5895b63ef6 [builder] moving @Installed_Packages chomp to a more logic part 2016-03-06 17:00:55 +01:00
mudler 90121cd3b8 [builder] fix, force shift to be evaluated in expression context inside dereference 2016-03-06 16:59:33 +01:00
mudler caf7e76b9b [sabayon-buildpackages] read DEPENDENCY_SCAN_DEPTH env variable and propagating to builder #4 2016-03-06 13:39:36 +01:00
mudler 42dab39689 [builder] checking if installation of packages is required at all #3 2016-03-06 13:24:54 +01:00
mudler aebe2c8783 [builder] Speed up Available/Installed Packages computation #3 2016-03-06 13:13:55 +01:00
mudler f37168a9e8 [builder] enabling depth override with DEPENDENCY_SCAN_DEPTH env variable #4 2016-03-06 13:03:14 +01:00
Ettore Di Giacinto c40be91df5 Merge pull request #1 from optiz0r/bugfix_dont_reinstall_deps
Fix equo query to prevent dependencies being reinstalled
2016-03-06 12:38:59 +01:00
Ettore Di Giacinto aa31b5865b Merge pull request #2 from optiz0r/feature_disable_mirrorsort
Allow disabling mirrorsort with EQUO_MIRRORSORT=0 env var
2016-03-06 12:33:30 +01:00
Ben Roberts cea7504964 Allow disabling mirrorsort with EQUO_MIRRORSORT=0 env var
When doing repeated testing, the mirrorsort can add unwanted delay.
This commit adds support for setting EQUO_MIRRORSORT=0 to disable this
and use the default sort order while testing.
It preserves the previous behaviour and defaults to 1.
2016-03-05 22:52:20 +00:00
Ben Roberts 3d51d160c5 Remove workaround for equery output not being quiet as requested 2016-03-05 22:47:49 +00:00
Ben Roberts cbd7a010ba Fix equo query to prevent dependencies being reinstalled
Call to equo query puts arg '--quiet' in the wrong place, receiving
prettified output which doesn't match string comparisons against
package names, leading to all dependencies being reinstalled every
time. This commit puts the --quiet arg in to correct place so that
only missing dependencies are installed.
2016-03-05 20:17:19 +00:00
mudler c3e313ef60 add sabayon-tbz2truncate v0.6.6 2016-03-03 00:43:00 +01:00
mudler 0f1f702c66 add sabayon-tbz2extract and sabayon-xpakextract v0.6.5 2016-03-02 21:19:12 +01:00
mudler c9effe3053 portage should be mounted before the other caches directories v0.6.4 2016-03-02 17:21:08 +01:00
mudler 20056cb0d5 [sabayon-buildpackages] adding PORTAGE_CACHE env variable v0.6.3 2016-03-02 14:07:50 +01:00
mudler 1076f1c2e3 ENTROPY_DOWNLOADED_PACKAGES defaults to entropy defaults v0.6.2 2016-02-28 15:48:54 +01:00
mudler f29cd8dabc [sabayon-buildpackages] enabling mounting of ENTROPY_DOWNLOADED_PACKAGES, but must be in complete form (localdirectory:containerdirectory) since it's arch-dependent v0.6.1 2016-02-28 13:52:41 +01:00
mudler a228567ab9 [sabayon-createrepo] dumb fix v0.6 2016-02-27 12:11:44 +01:00
mudler 26389080f2 calling equo rm if necessary 2016-02-26 23:49:40 +01:00
mudler 59ef11dc13 [sabayon-buildpackages] now with REMOTE_OVERLAY you can specify a git repository to clone instead of a local one v0.5.9 2016-02-25 23:00:50 +01:00
mudler aa11986503 [sabayon-buildpackages] adding DISTFILES env v0.5.8 2016-02-25 21:48:17 +01:00
mudler a37db57b82 entrypoint in createrepo is forced v0.5.7 2016-02-24 22:11:48 +01:00
mudler 88fb0d890a adding DOCKER_OPTS 2016-02-24 22:06:28 +01:00
mudler 1d14348bd8 adding --remove to remove packages with equo before the build v0.5.6 2016-02-24 17:52:33 +01:00
mudler 4af1209a33 fix OUTPUT_DIR instead WORKSPACE v0.5.5 2016-02-24 14:47:25 +01:00
mudler a13f89ee22 adding tools to remove packages and cleanup 2016-02-23 22:50:27 +01:00
mudler fae9e91583 adding brokenlibs checker scripts 2016-02-22 16:37:54 +01:00
mudler c7abf2e24b Adding sabayon-entropypreservedlibs, enabling ENTROPY_REPO environment to define which repo enable before upgrade in the builder script v0.5.4 2016-02-21 23:27:27 +01:00
Ettore Di Giacinto b07d658d88 [script/builder] default repo is main v0.5.3 2016-02-19 22:42:39 +01:00
mudler 18148617ea [builder] disabling quiet build as default emerge options 2016-02-15 00:01:28 +01:00
mudler 11f56726d5 [createrepo] using custom image for eit usage v0.5.2 2016-02-12 11:21:00 +01:00
mudler ff9fb250a2 try to start docker if not running (it will save a lot of pandas) v0.5.1 v.0.5.1 2016-02-09 01:05:48 +01:00
Ettore Di Giacinto aa5e41c073 Update README.md v0.5 2016-02-08 22:27:21 +01:00
mudler 68cb54c5d0 Added more Env variable for customization, now directory structure is created on user behalf if there is actually a need 2016-02-08 22:25:57 +01:00
mudler 087e3203e4 createrepo now accepts as argument the folder where to look for tbz2s, enhanced output v0.4 2016-02-08 15:12:07 +01:00
mudler c354cdc708 make.conf now can be swapped in builder script 2016-02-08 14:21:00 +01:00
mudler c29a3032d2 adding DOCKER_PULL_IMGE environment variable, if set to 1 it will update the image before running 2016-02-08 14:09:30 +01:00
mudler 10483f6d93 using array for docker env and volumes 2016-02-08 12:56:19 +01:00
mudler c50bc82ed7 updating README v0.3 2016-02-06 17:09:40 +01:00
mudler c68363f0fc adding support for custom useflags, masks, keywords, uses and envs 2016-02-06 17:04:42 +01:00
Ettore Di Giacinto 5485505c4f Update README.md 2016-02-06 16:50:00 +01:00
Ettore Di Giacinto 0fbff0b90b Update README.md 2016-02-06 16:44:41 +01:00
Ettore Di Giacinto 2851a5e2fc Update README.md 2016-02-06 16:43:24 +01:00
mudler f49309552f adding SAB_WORKSPACE for readability, updating README 2016-02-06 16:39:39 +01:00
mudler 1a9efe587a adding support to local overlays 2016-02-06 16:06:18 +01:00
mudler 0aeb135215 adding docker checks in function file v0.2 2016-02-06 15:28:56 +01:00
mudler 34857bb7a3 docker base image now is tweakable with env 2016-02-06 15:05:02 +01:00