Ben Roberts
411c142f00
Fixup perlisms
2016-10-24 10:48:36 +01:00
Ben Roberts
9446715e1a
Attempt to only add/remove enman repos that need action
...
Since enman was changed to provide exit status 1 [1] if the requested
operation failed, builder attempting to re-add an already existing repo
caused the entire build to fail. Rather than run the command and hope
for the best, this commit changes builder to obtain a list of already
installed repositories, and only add/remove the requested repos that
aren't already in the correct state.
[1] Sabayon/enman@7f3a6c88
2016-10-24 09:16:35 +01:00
Ettore Di Giacinto
2d1c16e76e
builder: EQUO_SPLIT_INSTALL default is now 0
2016-09-22 00:05:52 +02:00
Ben Roberts
4dbbc6b34a
Strip out package itself from package_deps
...
Package_deps returned the target package in the output which is not
strictly true (the package is not a dependency of itself really).
In calcuate_missing also means we install the package once using entropy
(if available), and then immediately replace it with portage,
which just wastes effort.
It breaks installation in the cases where the older equo version blocks the
new portage version (e.g. change of slot).
This should remove the target package from the list of packages to be
installed with entropy.
2016-09-13 22:08:43 +01:00
Ettore Di Giacinto
36999309c2
builder: adding checks to fix a broken layman configuration
2016-09-13 10:06:05 +02:00
Ettore Di Giacinto
1ef3938a96
builder: enhance debug of profile setting
2016-09-12 13:17:29 +02:00
Ben Roberts
4268b06305
Fix virtual pruning by switching from state to global variable for package_deps cache
2016-09-11 17:18:20 +01:00
mudler
a66dc7bb23
builder: added check for missing DEPEND/RDEPEND in QA phase
2016-09-10 15:00:09 +02:00
mudler
a1957a0587
[builder] fixes
2016-08-15 15:12:26 +02:00
mudler
fcfb218a17
[builder] turn on split_install by default
2016-08-15 14:56:46 +02:00
mudler
bac150a267
[builder] enhancing output
2016-08-15 14:48:18 +02:00
mudler
350e3d1000
[builder] split up into functions
2016-08-13 13:04:45 +02:00
mudler
10ef5244e3
[builder] allow to specify custom use flags per-package in the lists instead of in custom.use
...
* if emerge_split_install is enabled, then build.targets can contain useflags. (e.g. media-tv/kodi[-avahi] )
* for injected packages, this feature is always on
2016-08-13 12:40:36 +02:00
Ettore Di Giacinto
6e3ae4db29
builder: cleanup
2016-07-23 18:33:13 +02:00
Ettore Di Giacinto
4c4279e707
builder: add support for remote portdir and portage configurations
2016-07-23 18:30:03 +02:00
mudler
0e33e0d75f
builder: enable more verbosity to debug QA_CHECKS
2016-07-21 10:23:16 +02:00
mudler
cd19f3b85b
[builder] add equo args (multifetch && co.)
2016-07-21 10:20:06 +02:00
Ettore Di Giacinto
b33b4aa619
[builder] print qa checks if we are doing et
2016-07-16 10:27:54 +02:00
mudler
c8cd58df4b
[builder, sabayon-buildpackages] add QA_CHECKS env variable
2016-07-08 00:28:18 +02:00
Ettore Di Giacinto
44d7510792
[builder] removing append to make.conf, now the env variable is set and working also on the entropy side
2016-07-03 14:48:44 +02:00
Ettore Di Giacinto
fb745c8ed8
[builder] use ACCEPT_LICENSE with wildcard since Entropy 302
2016-05-26 12:17:07 +02:00
mudler
a65f1acdca
[builder] add support for REMOVE_REMOTE_OVERLAY and REMOVE_LAYMAN_OVERLAY
2016-05-17 19:30:40 +02:00
mudler
02fd49a321
[builder] better output for logs
2016-05-17 19:23:27 +02:00
mudler
868dfb767d
[builder] clone user defined local_portage only if dir exists
2016-05-17 19:20:20 +02:00
mudler
5855d12d75
[builder] allow to pass to remote overlay the name and the sync-type
2016-05-17 19:18:24 +02:00
mudler
44aa54b031
[builder] removing dots from repository name
2016-05-16 11:12:02 +02:00
mudler
6bcf4abfee
[builder] changing namespace allocation
2016-05-16 00:18:34 +02:00
mudler
31d3bca34b
[builder] guessing sync_type from url
2016-05-13 22:45:30 +02:00
mudler
869f6a4363
[builder] url must be given in absolute form
2016-05-13 22:12:21 +02:00
mudler
3709d50006
[builder] default masters = gentoo https://github.com/Sabayon/community-buildspec/issues/9
2016-05-13 21:59:05 +02:00
mudler
939acad797
[builder] fixes and enhancement to add_portage_repository() https://github.com/Sabayon/community-buildspec/issues/9
2016-05-13 21:56:09 +02:00
mudler
64d7085cb6
[builder/sabayon-buildpackages] passing REMOTE_OVERLAY to builder and adding repos as listed https://github.com/Sabayon/community-buildspec/issues/9
2016-05-12 12:09:44 +02:00
mudler
795aab5d24
[builder] don't re-add the repository if already there, sync instead. name of overlay now will be in the form namespace-name https://github.com/Sabayon/community-buildspec/issues/9
2016-05-12 12:04:34 +02:00
mudler
b57f8905fe
[builder] adding add_portage_repository() https://github.com/Sabayon/community-buildspec/issues/9
2016-05-12 11:58:14 +02:00
mudler
93a1093560
[builder] set ETP_NONINTERACTIVE to 1
2016-05-11 10:43:30 +02:00
mudler
84e62c332b
[builder/buildpackages] adding EMERGE_REMOVE env
2016-05-10 11:40:08 +02:00
mudler
4430495086
[builder] printing what package we are compiling
2016-05-09 10:25:02 +02:00
mudler
70a7542692
[builder] remove workaround no longer needed
2016-05-03 23:55:27 +02:00
Ettore Di Giacinto
8aed3a00fa
[builder] ENMAN_ADD_SELF defaults to 0
2016-05-03 10:47:29 +02:00
mudler
35f27e7b3b
[builder/buildpackages] adding REMOVE_ENMAN_REPOSITORIES
2016-05-02 14:11:50 +02:00
mudler
6fcccf99b8
[builder] do not check if string is contained in append_to_file if doesn't exists
2016-04-22 11:13:34 +02:00
mudler
67781838d3
[builder/sabayon-buildpackages] safe copy /usr/local/portage
2016-04-21 22:01:22 +02:00
mudler
69d8e28ac1
[builder] fixing permissions on local overlay
2016-04-21 21:52:41 +02:00
mudler
b491ffccae
[builder] check if the content is already there before appending content to file
2016-04-21 21:30:09 +02:00
mudler
066fb07d72
[builder] typo fixes
2016-04-17 19:47:01 +02:00
mudler
c89721ab2e
[builder] dropping equo (un)mask call, writing directly to packages.(un)mask files
2016-04-16 16:20:28 +02:00
mudler
d1481e915f
[builder] equo (s)mask should be done before installing any packages
2016-04-13 16:08:36 +02:00
mudler
b089771d17
[builder/sabayon-buildpackages] adding support for equo (un)mask
2016-04-11 21:27:33 +02:00
mudler
f81e90d555
[builder] don't exit if no args are given, allowing creating up-to-dated container with all set-up for compilation also if no args are given. adding --help
2016-04-08 19:20:20 +02:00
mudler
fb930cdeb3
[builder] add support for BUILD_INJECTED_ARGS
2016-04-08 19:09:06 +02:00