Use update_seed's argument as an argument list to emerge
authorMatt Turner <mattst88@gmail.com>
Sat, 10 Nov 2012 23:38:03 +0000 (15:38 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 11 Nov 2012 00:16:18 +0000 (16:16 -0800)
Previously, update_seed caused the seed stage to be updated with
--update --deep --newuse @world. This proved to be unnecessary in the
majority of cases.

Simply give run_merge the previously unused argument of update_seed as
an argument list. This allows updating select packages in a seed stage.

targets/stage1/stage1-chroot.sh

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