Downloaded 2004.3 release before christmas and I've been working on
getting it setup over christmas when ever I had the time.

Main issue was that I'm using a dialup connection of 33Kbps so I
basically would have to retreive the files beforehand using a server
or access elsewhere and then copy the various files to the distfiles
folder. Fortunately I had a DVD install of 2004.2 lying around so I
was able to grab most of the distfiles from there to start off with to
reduce what needed to be downloaded.


Now I got the system bootstrapped after a bit of messing about and
experimenting and I was going to do 'emerge system'. Before that I
decided to try and work out what files I needed to retreive first, and
since I have other access asside from the home dialup, download the
files to there burn them to CD.

So used
emerge -pf system | awk '{print $1}'

to generate a basic list of url's of files to retreive. However I
noticed that some of the files that would already be in my distfiles
folder being referenced, so after getting some help from the irc
channel on freenode to improve the awk command usage I created a shell
script that would execute the modified version of the command line
above and then work its way through each line and determine if the
file already existed in the distfiles folder. Finally it would output
the url's of just the additional files that needed to be retreived,
reducing the number of files to retreive remotely from 212 to 125.


Now the script needs a bit more work before it's really useful in
general, but I was somewhat supprised that emerge generates the url's
of all files, but doesn't seem to have the options to generate the
url's of just the files to be downloaded.

Did I miss something obvious or is this no way to get emerge to just
output the url's of the source files required that are not in the
distfiles already. Would really like to know before I go to any
serious trouble in making my script generic and useful for future
updates.

Or is there already a script out there that handles all of my
requirements which are bascially; to be able to generate a list of
only what additional source files need to be retreived for my system
to be able to perform the emerge.

-- 
Darragh Bailey
"Nothing is foolproof to a sufficiently talented fool"

--
[email protected] mailing list

Reply via email to