]> GeneralSync Git - oss/isolator.git/commitdiff
authorDirk Steinmetz <ds@generalsync.com>
Tue, 11 Jun 2019 22:44:06 +0000 (00:44 +0200)
committerDirk Steinmetz <ds@generalsync.com>
Tue, 11 Jun 2019 22:44:06 +0000 (00:44 +0200)
This commit adds two additional flags when calling emerge to update or
install things: --binpkg-changed-deps=y to suppress the warning about
changed dependencies, and --autounmask-backtrack=y to try to find
solutions without unmasking packages.

isolator

index aed01904b0b76ac9139dfc6ba8006ea735ae2fd0..c9ad106f0273f559eab28fb9cbb3567997a59d0e 100755 (executable)
--- a/isolator
+++ b/isolator
@@ -422,7 +422,8 @@ updateContainer() {
   done
 
   emergeInContainer "$CONTAINER_FOLDER" -kuDN --binpkg-respect-use=y \
-      --rebuilt-binaries $ISOLATOR_PORTAGEARGS @world
+      --binpkg-changed-deps=y --rebuilt-binaries --autounmask-backtrack=y \
+      $ISOLATOR_PORTAGEARGS @world
   emergeInContainer "$CONTAINER_FOLDER" -c $ISOLATOR_PORTAGECLEANARGS
 
   # /etc/portage contains symlinks to outside of the rootfs, so we better