summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-05-28 11:25:16 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-05-28 11:25:16 -0400
commit088832cb6b09cbecd9c58a5ed72f28405f531074 (patch)
tree96a271f71eb59a8fdf7ff62df46f14d04524f979
parentworld.conf: bump midori to 0.5.11-r1 (diff)
downloadgrs-088832cb6b09cbecd9c58a5ed72f28405f531074.tar.gz
grs-088832cb6b09cbecd9c58a5ed72f28405f531074.tar.bz2
grs-088832cb6b09cbecd9c58a5ed72f28405f531074.zip
scrips/cycle.1.sh: ensure uclibc is upgraded
-rw-r--r--scripts/cycle.1.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/cycle.1.sh b/scripts/cycle.1.sh
index b8d2e7b..ee6dff5 100644
--- a/scripts/cycle.1.sh
+++ b/scripts/cycle.1.sh
@@ -1,10 +1,14 @@
#!/bin/bash -e
-# This comes from the stage3.
-rm -f /etc/portage/package.use/uclibc
-
source /etc/profile
env-update
+
+# This comes from the stage3, but we might
+# be building a different version of uclibc.
+rm -f /etc/portage/package.use/uclibc
+rm -f /etc/portage/savedconfig/sys-libs/uclibc
+emerge -b1q uclibc
+
emerge -b1q binutils
emerge -b1q gcc
emerge -b1q uclibc