[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] emerge -U world with mixed stable/unstable ebuilds
From: "Marshall T. Vandegrift" <vandem2 () rpi ! edu>
Date: 2003-03-26 14:04:35
[Download RAW message or body]
Trying again, after realizing that gento-dev dislikes attachments...
Chris Bainbridge <C.J.Bainbridge@ed.ac.uk> writes:
> I could modify my local portage tree after syncing to mark every
> ebuild I want stable, but is there an easier way? Preferably some
> way to update all stable ebuilds to the latest stable version and
> all unstable ones to the latest unstable...?
For a hideous hack that works right now (and is thus the solution I
use) check out the following shell scripts:
----- begin: stable-eup.sh -----
#! /bin/sh
NOCOLOR="true" emerge -up world \
| grep '^\[ebuild' \
| grep -v '^\[ebuild UD\]' \
| sed -re's/.*?\] (.*?)-[0-9
------ end: stable-eup.sh ------
---- begin: unstable-eup.sh ----
#! /bin/sh
NOCOLOR="true" emerge -up world \
| grep '^\[ebuild' \
| grep '^\[ebuild UD\]' \
| sed -re's/.*?\] (.*?)-[0-9].*/\1/' \
| NOCOLOR="true" ACCEPT_KEYWORDS="~x86" xargs emerge -p \
| grep '^\[ebuild' \
| grep -v '^\[ebuild R \]' \
| sed -re's/.*?\] (.*?)-[0-9].*/\1/' \
| ACCEPT_KEYWORDS="~x86" xargs emerge "$@"
----- end: unstable-eup.sh -----
--
Marshall T. Vandegrift <vandem2@rpi.edu>
Disciplined and calm, to await the appearance of
disorder and hubbub amongst the enemy:--this is the
art of retaining self-possession.
-- Sun Tzu (/The Art of War/, 7:30)
--
gentoo-dev@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic