220 Commits

Author SHA1 Message Date
Ettore Di Giacinto 3be4345ae4 Merge pull request #19 from Sabayon/develop
builder: Add support for git portage tarball
v1.7.9
2019-04-27 15:57:22 +02:00
Daniele Rondina 286533e74e builder: Use rsync instead of cp on copy git portage 2019-04-03 18:16:43 +02:00
Daniele Rondina a3f9796c6d builder: Add support for git portage tarball 2019-03-22 22:06:29 +01:00
Ettore Di Giacinto 1921cae295 Extract common func to setup perms, fix git3 perms v1.7.8 2018-09-26 20:14:13 +02:00
Ettore Di Giacinto 3322c5aa17 Make non fatal equo install deps 2018-07-28 18:14:35 +02:00
Ettore Di Giacinto 95ffe4d49d Add hook script function 2018-07-22 17:24:36 +02:00
Ettore Di Giacinto 59855f3bb1 Be quiet also on emerge --sync 2018-07-22 16:46:25 +02:00
Ettore Di Giacinto d151a77e51 Prefer long syntax option 2018-07-22 15:47:43 +02:00
Ettore Di Giacinto 8fda356c53 Also include summary in injected_targets 2018-07-21 21:38:42 +02:00
Ettore Di Giacinto 69ee6dfefa Add LICENSE v1.7.7 2018-07-21 18:33:06 +02:00
Ettore Di Giacinto 9be88688bc Do not die on failed enman commands
- Also print a short summary of compilation result
- Add KEEP_GOING env variable,
  if disabled a failure in split install makes the build fail
2018-07-21 18:33:06 +02:00
Ettore Di Giacinto 47aa0c3cbf Merge pull request #18 from Sabayon/fix-enman-add
Tuning enman repos management and add debug stuff
v1.7.6
2018-06-24 12:40:26 +02:00
Geaaru 09f618043d Tuning enman repos management and add debug stuff 2018-06-15 10:28:23 +02:00
Ettore Di Giacinto 66284024a2 Use new eit options v1.7.5 2018-06-02 13:38:31 +02:00
Ettore Di Giacinto 64f8ee54a3 functions: make /opt/sabayon-build/ configurable v1.7.4 2018-02-15 00:07:41 +01:00
Ettore Di Giacinto 6cc8d3d7ae switch default profile v1.7.3 2018-02-03 22:56:16 +01:00
Ettore Di Giacinto 7512a7f184 push experimental sabayon-commit 2018-01-23 21:51:28 +01:00
Ettore Di Giacinto bdd6ffac8c Merge pull request #17 from geaaru/fix_builder_debug
[builder] Fix print of $remove_layman_overlay
2018-01-17 17:52:22 +01:00
Geaaru b42ef2feb7 [builder] Fix print of $remove_layman_overlay 2018-01-17 09:31:13 +01:00
Ettore Di Giacinto cf77609a7b Merge pull request #16 from geaaru/documentation
Add documentation
2018-01-15 18:42:33 +01:00
Geaaru dc05aace0b Add documentation 2018-01-15 15:45:13 +01:00
Ettore Di Giacinto 928d6da693 Refactorize and quote package when getting deps of package v1.7.2 2017-07-30 01:43:17 +02:00
Ettore Di Giacinto 5c927a25c6 Refactorizations v1.7.1 2017-07-30 01:26:11 +02:00
Ettore Di Giacinto 813148303c Add support for new options exposed in builder
- INTERNAL_BUILDER: swaps the builder supplied in the env var with the one executed in the container
- BUILDER_VERBOSE: enable verbose mode
- SHARE_WORKSPACE: enable sharing of the build directory with the container
- PRE_SCRIPT/POST_SCRIPT: absolute paths of scripts that have to be executed in the container
v1.7.0
2017-07-30 01:18:37 +02:00
Ettore Di Giacinto 5a3be7c0f1 Add support for pre_script and post_script, executed before and after the build
Also add support for package major/minor syntax and verbose option
2017-07-30 01:17:03 +02:00
Ettore Di Giacinto 6fbd3f4f22 functions: remove sudo calls 2017-07-09 11:25:46 +02:00
Ettore Di Giacinto 0be7f76824 sabayon-buildpackages: add support for INTERNAL_BUILDER, swap the builder image with the local installed one 2017-07-09 11:25:28 +02:00
Ettore Di Giacinto 7b2adad931 builder: include also injected_packages in overlays detection v1.6.18 2017-06-18 12:58:21 +02:00
Ettore Di Giacinto 6283b34be8 builder: parse overlays also from package list 2017-06-18 12:26:07 +02:00
Ettore Di Giacinto 11812ff1a2 move QA checks on the bottom, enhance output display and fix depchecking when package contain overlay name 2017-06-05 21:13:30 +02:00
Ettore Di Giacinto e31a06cee3 add gitignore 2017-05-21 14:33:36 +02:00
Ettore Di Giacinto b91870c72d sabayon-buildpackages: add support for DETECT_OBSOLETE and TARGET_OVERLAY v1.6.17 2017-05-21 14:16:04 +02:00
Ettore Di Giacinto b1726fdb4d builder: add DETECT_OBSOLETE 2017-05-21 14:13:59 +02:00
Ettore Di Giacinto 6d0f26ceb7 sabayon-detectobsolete: more perlish v1.6.16 2017-03-29 14:46:34 +02:00
Ettore Di Giacinto 49ba945b63 builder: running emerge -C anyway 2017-03-29 14:19:39 +02:00
Ettore Di Giacinto f55338b552 sabayon-detectobsolete: utility to list possible obsolete packages in overlays 2017-03-29 14:19:39 +02:00
Ettore Di Giacinto 0c964e4b64 builder: PRETEND changes
move up the adjustment of emerge/equo arguments, avoid to copy artifacts when PRETEND mode is on
2017-03-22 14:40:27 +01:00
Ettore Di Giacinto 5f75f6e64b builder: do not emerge preserved rebuild if PRETEND is set v1.6.15 2017-03-20 11:19:17 +01:00
Ettore Di Giacinto 9fd7ce2582 builder: PRETEND avoids also package removals. 2017-03-20 11:17:59 +01:00
Ettore Di Giacinto a62baaf0ea builder: PRETEND, add -p to equo/emerge arguments 2017-03-19 11:50:09 +01:00
Ettore Di Giacinto bf78080418 Revert "builder: add PRETEND environment variable"
This reverts commit 575ec04147.
2017-03-18 13:54:12 +01:00
Ettore Di Giacinto 218dfa9dcd sabayon-buildpackages: add PRETEND support v1.6.14 2017-03-15 14:12:12 +01:00
Ettore Di Giacinto 575ec04147 builder: add PRETEND environment variable 2017-03-15 11:50:41 +01:00
Ben Roberts 903aa0fa0d add SYS_PTRACE capability to docker build, to prevent sandbox ptrace errors v1.6.13 2016-11-02 11:21:03 +00:00
Ettore Di Giacinto ada5793612 sabayondevkit-functions: set -e and make non-fatal commands return always true v1.6.12 2016-11-02 12:11:47 +01:00
Ettore Di Giacinto af32293577 fix syntax errors v1.6.11 2016-10-27 01:42:26 +02:00
Ben Roberts 411c142f00 Fixup perlisms v1.6.10 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
v1.6.9
2016-10-24 09:16:35 +01:00
Ettore Di Giacinto 890206ba80 sabayondevkit-functions.sh: add -u as default emerge option to build_category_installed and build_obsolete v1.6.8 2016-10-11 14:48:01 +02:00
mudler 79567a647b sabayon-maint-helper: acquire lock before execution 2016-10-10 16:44:47 +02:00