[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: simple-cdd with local packages [was: Re: Bandwidth Manager CDD]



> > > Next I noticed that there was zero documentation about the requirement
> > > to run as root. Sadly debian-cd not only runs as root, but also edits as
> > > root files under /usr . OK. Let's hope It won't destroy my system.
> > 
> > i have never once run simple-cdd scripts as root, so that's probably why
> > there's no documentation about it :P
> > 
> > are you building the debian-installer CD from scratch, or using one of
> > the released debian-installer CDs?
> 
> I'm trying to build it from scratch.

well, simple-cdd doesn't handle building debian-installer CDs, only
re-building them from an already existing debian-installer CD image, as
i understand it.  that's how it avoids requiring root access.

unless i misunderstand you... maybe listing the exact comands you're
running would be helpful...

typically, when i use it, i download or install simple-cdd, copy the
simple-cdd directory to a working copy in my home directory, tweak
CONF.sh values such as mirror and proxy info, and then run
./build-simple-cdd 

> > > debpartial-mirror is *slow* and inefficient at mirroring. It seems to do
> > > the whole mirroring process whenever I run it. Thus running it with
> > > do_mirror=false is a must if you don't have extra hours to spend on
> > > useless downloads.
> > 
> > i had good luck using debpartial-mirror with a squid proxy, which helps
> > a lot.
 
> How about taking the rsync approach? you do have the md5sums of most
> files for download separately. Much of the time is actually spent on the
> files in the documentation (?) directories, which don't really change
> often (right?).

i would welcome code that works as well as or better than
debpartial-mirror :)
 
> Also: do you use HTTP HEAD or do you download the whole file?

i use debpartial-mirror, i don't know how it works, exactly.  in my
experience, it works best to avoid using the round-robin mirrors (such
as http.us.debian.org)...

live well,
  vagrant

Attachment: signature.asc
Description: Digital signature


Reply to: