From 5869505d64c04c536bdcd71a197ade918c36bf1c Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 10 Aug 2014 11:19:38 +0100 Subject: init --- upgrade-gentoo | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 upgrade-gentoo (limited to 'upgrade-gentoo') diff --git a/upgrade-gentoo b/upgrade-gentoo new file mode 100755 index 0000000..1df1209 --- /dev/null +++ b/upgrade-gentoo @@ -0,0 +1,23 @@ +#!/bin/sh + + +cd /usr +rsync -avv portage/ portage_/ +umount portage +rm portage.squashfs +mv portage_ portage +perl-cleaner --reallyall +python-updater +emaint --check all +emaint --fix all +emerge --sync +emerge -avuDN --with-bdeps y --keep-going world +read p\?"press enter... " +etc-update +emerge -av --depclean +revdep-rebuild +eclean -d distfiles +localepurge +mksquashfs portage portage.squashfs -comp xz +mount portage + -- cgit v1.2.3