Gentoo Archives: gentoo-catalyst

From: mattst88@g.o
To: gentoo-catalyst@l.g.o
Cc: Matt Turner <mattst88@×××××.com>
Subject: [gentoo-catalyst] [PATCH 1/2] Use update_seed's argument as an argument list to emerge
Date: Wed, 14 Nov 2012 03:02:34
Message-Id: 1352855386-4924-1-git-send-email-mattst88@gentoo.org
1 From: Matt Turner <mattst88@×××××.com>
2
3 Previously, update_seed caused the seed stage to be updated with
4 --update --deep --newuse @world. This proved to be unnecessary in the
5 majority of cases.
6
7 Simply give run_merge the previously unused argument of update_seed as
8 an argument list. This allows updating select packages in a seed stage.
9 ---
10 targets/stage1/stage1-chroot.sh | 2 +-
11 1 files changed, 1 insertions(+), 1 deletions(-)
12
13 diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
14 index a9536a6..377a7cf 100644
15 --- a/targets/stage1/stage1-chroot.sh
16 +++ b/targets/stage1/stage1-chroot.sh
17 @@ -24,7 +24,7 @@ clst_root_path=/ setup_pkgmgr
18 # Update stage3
19 if [ -n "${clst_update_seed_cache}" ]; then
20 echo "Updating seed stage..."
21 - clst_root_path=/ run_merge "--update --deep --newuse @world"
22 + clst_root_path=/ run_merge "${clst_update_seed_cache}"
23 else
24 echo "Skipping seed stage update..."
25 fi
26 --
27 1.7.8.6

Replies