setup portage before updating seed_cache
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Mon, 22 Oct 2012 01:19:59 +0000 (21:19 -0400)
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Mon, 22 Oct 2012 01:19:59 +0000 (21:19 -0400)
When updating of seed_cache support was added it was added before portage
was setup/updated. We always was portage first.

targets/stage1/stage1-chroot.sh

index c26bd726abe827a10a510a0779ccaa616b36e619..6f7e5b015a22d8e8806987744440975381d9f174 100644 (file)
@@ -21,6 +21,7 @@ fi
 # Update stage3
 if [ -n "${clst_update_seed_cache}" ]; then
        echo "Updating seed stage..."
+       clst_root_path=/ setup_pkgmgr
        clst_root_path=/ run_merge "--update --deep --newuse @world"
 else
        echo "Skipping seed stage update..."