diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-12-18 12:35:27 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-12-18 21:56:52 -0500 |
commit | f229afe0e328d8d89df72097e316dadcec40aa7b (patch) | |
tree | eb01a13c68539bbc8355017c6cf0e327bc177ec2 /targets | |
parent | targets: Remove EBEEP_IGNORE / EPAUSE_IGNORE (diff) | |
download | catalyst-f229afe0e328d8d89df72097e316dadcec40aa7b.tar.gz catalyst-f229afe0e328d8d89df72097e316dadcec40aa7b.tar.bz2 catalyst-f229afe0e328d8d89df72097e316dadcec40aa7b.zip |
targets: Pass separate arguments to run_merge()
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'targets')
-rwxr-xr-x | targets/stage1/chroot.sh | 8 | ||||
-rwxr-xr-x | targets/stage3/chroot.sh | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/targets/stage1/chroot.sh b/targets/stage1/chroot.sh index 6b9bfb3e..33d5c3c9 100755 --- a/targets/stage1/chroot.sh +++ b/targets/stage1/chroot.sh @@ -33,9 +33,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 "--buildpkg=n ${clst_update_seed_command}" + clst_root_path=/ run_merge --buildpkg=n "${clst_update_seed_command}" else - clst_root_path=/ run_merge "--update --deep --newuse --complete-graph --rebuild-if-new-ver 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}" @@ -55,7 +55,7 @@ make_destpath "${clst_root_path}" ## START BUILD # First, we drop in a known-good baselayout [ -e ${clst_make_conf} ] && echo "USE=\"${USE} -build\"" >> ${clst_make_conf} -run_merge "--oneshot --nodeps sys-apps/baselayout" +run_merge --oneshot --nodeps sys-apps/baselayout sed -i "/USE=\"${USE} -build\"/d" ${clst_make_conf} echo "$locales" > /etc/locale.gen @@ -76,7 +76,7 @@ if [ -e ${clst_make_conf} ]; then done fi -run_merge "--oneshot ${buildpkgs[@]}" +run_merge --oneshot "${buildpkgs[@]}" # TODO: Drop this when locale-gen in stable glibc supports ROOT. # diff --git a/targets/stage3/chroot.sh b/targets/stage3/chroot.sh index 37001db0..7dc1b6ea 100755 --- a/targets/stage3/chroot.sh +++ b/targets/stage3/chroot.sh @@ -6,7 +6,7 @@ export CONFIG_PROTECT="-* /etc/locale.gen" echo "$locales" > /etc/locale.gen -run_merge "-e --update --deep --with-bdeps=y @system" +run_merge -e --update --deep --with-bdeps=y @system # Replace modified /etc/locale.gen with default etc-update --automode -5 |