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

Re: Mirror for cdebootstrap



John Goerzen <jgoerzen@complete.org> writes:

> Hi,
>
> I'd like a way to generate a local tree of files that:
>   
>   1. Contains only what cdebootstrap needs for a given dist
>   (sid/woody/whatever)
>
>   2. Is in a format directly usable by cdebootstrap as a file: mirror
>
>   3. Doesn't require root to process
>
> What would be the easiest way to do that?
>
> Thanks,
> John

Simplest case baring bugs in package priorities:

debmirror --limit-priority=essential,standard /mirror/

If you need a more controled selection you can first mirror the
Packages file, for i in <pkg>; do grep-dctrl; done >small/Packages,
and then run debmirror on the small/Packages with the option not to
dowload Packages.

MfG
        Goswin



Reply to: