
Code: Select all
#!/bin/sh
# Emerges my cvs ebuilds
emerge geany
emerge darkplaces
emerge wine
emerge nvclock
Code: Select all
find /var/db/pkg/ -mindepth 2 -maxdepth 2 -name \*-9999Code: Select all
emerge -av `find /var/db/pkg/ -mindepth 2 -maxdepth 2 -name \*-9999|awk -F \/ '{printf "=%s/%s ", $5, $6}'`Code: Select all
# app-portage/smart-live-rebuild for rebuilding 9999 packages
# Could use simply "emerge @live-rebuild" but...
# A smart replacement for various live package rebuilding
# solutions. smart-live-rebuild tries to update the source checkouts of live
# packages and calls emerge to rebuild those which are out-of-date.
#
if [ -x /usr/bin/smart-live-rebuild ]
then
echo "smart-live-rebuild..."
smart-live-rebuild
fi
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
Yeah. I'm actually with you in this. It's usually a good practice to provide the solution in case some one else stumble upon the topic. Especially in this case where the topic is still relevant on this day.lyallp wrote:I thought I might as well provide the answer :)
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
Code: Select all
# emerge -a $(awk '{print "="$1}' <(qlist -ICv 9999))This is why I use *nix systems.khayyam wrote:the following is what I generally use.
Code: Select all
# emerge -a $(awk '{print "="$1}' <(qlist -ICv 9999))
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
It's a bit smarter than that: it detects live ebuilds via the presence of a VCS eclass in the metadata, rather than guessing version numbers (your example would work for 99.9% of cases I know about, but the "9999" is still just an informal convention), and then pings the remote server using `git ls-remote` or equivalent to see if there's any reason to update.khayyam wrote:et al ... not sure what app-portage/smart-live-rebuild does (is it in fact checking that such packages are "out-of-date" and so skip those that are not?)
