dev-util/catalyst: Hack the stage1 script to upgrade ncurses

Add a patch to forcefully rebuild everything that depends on the
old ncurses slot.  This patch should be dropped as soon as the next
SDK is built and used in the manifest repo.
This commit is contained in:
David Michael 2018-05-16 17:04:11 -04:00
parent df2d0a0334
commit b01a770419
2 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,7 @@ PATCHES=(
"${FILESDIR}/catalyst-2.0.18-fix-quotes.patch"
"${FILESDIR}/catalyst-2.0.18-remove-machine-id.patch"
"${FILESDIR}/catalyst-2.0.18-stage1-export-ROOT.patch"
"${FILESDIR}/catalyst-2.0.18-coreos-upgrade-ncurses.patch"
)
pkg_setup() {

View File

@ -0,0 +1,11 @@
--- targets/stage1/stage1-chroot.sh
+++ targets/stage1/stage1-chroot.sh
@@ -30,6 +30,8 @@
if [ -n "${clst_update_seed_command}" ]; then
clst_root_path=/ run_merge "--buildpkg=n ${clst_update_seed_command}"
else
+ clst_root_path=/ run_merge "--unmerge sys-libs/ncurses-5.9-r99"
+ clst_root_path=/ run_merge "<dev-lang/python-3 app-crypt/pinentry app-emulation/qemu app-editors/vim app-shells/bash app-shells/bash-completion dev-db/sqlite dev-lang/python dev-libs/libxml2 dev-util/cmake net-dns/bind-tools sys-apps/gptfdisk sys-apps/less sys-apps/util-linux sys-devel/gettext sys-fs/lvm2 sys-libs/ncurses"
clst_root_path=/ run_merge "--update --deep --newuse --complete-graph --rebuild-if-new-ver gcc"
fi
elif [ "${clst_update_seed}" != "no" ]; then