diff options
author | Yuta SATOH <nigoro.dev@gmail.com> | 2018-01-03 20:18:28 +0900 |
---|---|---|
committer | Yuta SATOH <nigoro.dev@gmail.com> | 2018-01-03 20:18:28 +0900 |
commit | 16d90e98675553918427b67b098c40fc03de0e01 (patch) | |
tree | 232ea69e86cababb2117f3bc4eeea55cf2fc9b55 | |
parent | automatic_updater.sh: add the missing code to upgrade correctly. (diff) | |
download | gentoo-bsd-master.tar.gz gentoo-bsd-master.tar.bz2 gentoo-bsd-master.zip |
-rwxr-xr-x | scripts/automatic_updater.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automatic_updater.sh b/scripts/automatic_updater.sh index 58e8ced..6dcd73a 100755 --- a/scripts/automatic_updater.sh +++ b/scripts/automatic_updater.sh @@ -136,10 +136,10 @@ update_toolchain(){ # https://bugs.gentoo.org/629128 [[ ! -e /etc/portage/package.unmask ]] && mkdir -p /etc/portage/package.unmask echo "sys-devel/binutils" > /etc/portage/package.unmask/toolchain-oldversion - echo "sys-devel/gcc" >> /etc/portage/package.unmask/toolchain-oldversion + echo "<sys-devel/gcc-7.0" >> /etc/portage/package.unmask/toolchain-oldversion emerge -u '<sys-devel/binutils-2.28' --exclude sys-freebsd/* emerge -u sys-devel/gcc-config --exclude sys-freebsd/* - emerge -u '<sys-devel/gcc-5.0' --exclude sys-freebsd/* --exclude sys-devel/binutils + emerge '<sys-devel/gcc-5.0' --exclude sys-freebsd/* --exclude sys-devel/binutils gcc-config $(gcc-config -l | grep "${TARGETVER}" | awk '{print $1}' | sed 's:\[::g' | sed 's:\]::g' | tail -n 1) env-update source /etc/profile |