maxim wexler wrote:

> Thanks for hanging in there with me, Richard


No problem.

>> Anyway, back to grub. 2 things.
>> upgrade to 0.96, repeat
>
> machine. Then I used it to wget the tarball that
> emerge -av, on the sempron box, says it needs,
> pppconfig-2.3.9, and copied it to a floppy. I put that
> in /usr/portage/distfiles on the sempron box but
> emerge continues to ask for it.


Here is a function to help with this.  It will only show you the things
that you don't already have in distfiles, so it will be best to run on
the sempron.

mw_what_dist() {
  emerge -Dvp --fetchonly "$@" 2>&1 \
    | grep "/" \
    | awk '{ print $1 }' \
    | while read line; do
      bn="`basename $line`"
      test -f /usr/portage/distfiles/$bn || echo $line
    done
}

You can copy-n-paste that to your .bashrc then ". ~/.bashrc" and you
will have the mw_what_dist function.  When I run it on pppconfig, I get:

carcharias ~ # ACCEPT_KEYWORDS=-~x86 mw_what_dist pppconfig
http://mirror.datapipe.net/gentoo/distfiles/ppp-2.4.2.tar.gz
http://mirror.datapipe.net/gentoo/distfiles/ppp-2.4.2-patches-20050514.tar.gz
http://mirror.datapipe.net/gentoo/distfiles/pppconfig_2.3.11.tar.gz

Unfortunately, 2.3.9 doesn't show up in portage anymore, so I can't show
you that directly!

More to the point of getting grub, you could also build a binary package
of grub on the other system, and transfer that over via floppy.  The
binary package for grub looks like it would be about ~440k.  Don't worry
about CFLAGS not matching, they get removed by the grub ebuild in any case.

"emerge --buildpkgonly --oneshot grub" should do for the build, which
will end up creating a archive in /usr/portage/packages.  Move it to the
same location on the sempron, and use "emerge --usepkgonly" to install it.

Although, you may be in desperate need of an emerge --sync, so you may
have to fight with pppconfig for a little while.

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to