Fix update_seed use by not using nor building binary packages during the seed update.
[catalyst.git] / targets / stage1 / stage1-chroot.sh
index 462ea28387fa3678ab51507d783ca671d18c0f96..ed83f3852f456bb195285657ef7269800a9da2c1 100644 (file)
@@ -28,14 +28,17 @@ if [ -n "${clst_update_seed}" ]; then
        if [ "${clst_update_seed}" == "yes" ]; then
                echo "Updating seed stage..."
                if [ -n "${clst_update_seed_command}" ]; then
-                       clst_root_path=/ run_merge "${clst_update_seed_command}"
+                       clst_root_path=/ run_merge "--buildpkg=n ${clst_update_seed_command}"
                else
-                       clst_root_path=/ run_merge "--update --deep --newuse --onlydeps gcc"
+                       clst_root_path=/ run_merge "--update --deep --newuse --complete-graph --rebuild-if-new-ver gcc"
                fi
        elif [ "${clst_update_seed}" != "no" ]; then
                echo "Invalid setting for update_seed: ${clst_update_seed}"
                exit 1
        fi
+
+       # reset emerge options for the target
+       clst_update_seed=no setup_myemergeopts
 else
        echo "Skipping seed stage update..."
 fi