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

Re: Creating rootfs using multistrap from local repository



On Sat, 22 Mar 2014 23:37:50 -0700 (PDT)
KianVine Chin <kianvinechin@yahoo.com> wrote:

> Hello All,
> 
> I have studied multistrap for sometime now but I don't see this
> question being asked.  Maybe it is invalid but I don't see why.
> 
> I made an initial rootfs
> using source=http://ftp.uk.debian.org/emdebian/grip and save the
> source packages in a separate directory using 'retainsources'
> keyword.  Is it possible to create the same rootfs using packages
> saved in the 'retainsources' directory?  This would avoid downloading
> from the remote server again.

retainsources downloads the *source* packages, not the binaries which
get installed. You would have to rebuild all the packages from the
sources downloaded. retainsources is primarily for licence compliance,
not caching.

> I see some mentions of "copy://" and "file://" but not sure if it is
> use for this purpose.  If it is, how exactly do I used it?

A directory is simply a flat file archive.
https://wiki.debian.org/Multistrap/FlatFileArchives

What you actually want is a local partial mirror.
https://wiki.debian.org/Multistrap/PartialMirrors

That would contain the binaries downloaded from Debian (and can
optionally contain the sources too as it will be more efficient for the
mirror to retain these than to use the retainsources option of
multistrap).

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: signature.asc
Description: PGP signature


Reply to: