From: Rick Farina (Zero_Chaos) Date: Thu, 31 Jan 2013 03:57:36 +0000 (-0500) Subject: don't build packages during update_seed X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7ea409acb52b43e9ea141c57201f9f87673f7ba;hp=6b4153ab9a07fb2f2c77484bc60d24d0a491e618;p=catalyst.git don't build packages during update_seed when update_seed is run it uses the default catalyst emerge options which causes binary packages to be built which are linked against the seed stage rather than the generated stage. These binary packages can be later used and cause significant and odd issues due to being linked to older libraries. I am passing "--buildpkg=n" for the update_seed runs to prevent this issue and close bug #454184 --- diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh index 462ea283..3f628c22 100644 --- a/targets/stage1/stage1-chroot.sh +++ b/targets/stage1/stage1-chroot.sh @@ -28,9 +28,9 @@ 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 "--buildpkg=n --update --deep --newuse --onlydeps gcc" fi elif [ "${clst_update_seed}" != "no" ]; then echo "Invalid setting for update_seed: ${clst_update_seed}"