diff --git a/update_chroot b/update_chroot index 13cb67e29b..653e48a03a 100755 --- a/update_chroot +++ b/update_chroot @@ -202,6 +202,12 @@ fi EMERGE_FLAGS+=( "--jobs=${NUM_JOBS}" ) REBUILD_FLAGS+=( "--jobs=${NUM_JOBS}" ) +if [ "$(readlink -f /lib)" != "/lib" ]; then + warn "Skipping update due to profile migration" + command_completed + exit 0 +fi + # Perform an update of coreos-devel/sdk-depends and world in the chroot. EMERGE_CMD="emerge"