moving first upgrade to stage3, our base will be a clean image that can be used for normal tasks which doesn't require kernel

This commit is contained in:
mudler
2015-11-13 20:44:34 +01:00
parent 92a61c45ea
commit b3f0ea8e8a
6 changed files with 4 additions and 113 deletions
+1 -11
View File
@@ -107,20 +107,10 @@ FILES_TO_REMOVE=(
"/usr/portage/licenses"
)
mkdir -p /etc/portage/repos.conf/
echo "[DEFAULT]
main-repo = gentoo
[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.europe.gentoo.org/gentoo-portage
" > /etc/portage/repos.conf/gentoo.conf
# Upgrading packages
rsync -av "rsync://rsync.at.gentoo.org/gentoo-portage/licenses/" "/usr/portage/licenses/" && ls /usr/portage/licenses -1 | xargs -0 > /etc/entropy/packages/license.accept && \
equo u && \
equo up && equo u && \
echo -5 | equo conf update
# Cleanup