
If I remember rightly there is a script in the debian archive to create a customised mirror. Maybe I'm wrong though.
Regards Moss
Tong wrote:
Ah, thanks. The MIRROR_DIRECTORY is outside chroot, correct? Will it get wiped when building the iso?
hmm, when trying to answer the above questions using the UTSL method, I noticed that it is not quite as what I proposed.
- One has to build a (local) Debian mirror first before he is able to use
MIRROR_DIRECTORY and MIRROR_SOURCES. I haven't done that before. Will I have to pull in the full Debian mirror, not just the packages that I need? The bind mount method on the contrary, does not require one to setup anything, and does not require storing any unnecessary packages either.
- Using the MIRROR_DIRECTORY and MIRROR_SOURCES, grml-live still need to
download packages into the chroot, then wipe the downloaded before building the iso. Even the mirror is local, there are still some quite heavy disk RW going on. With bind mount and up to date local apt archive, disk RW will be near-zero. Quite a performance boost, isn't it?
-- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/
Grml mailing list - Grml@mur.at http://lists.mur.at/mailman/listinfo/grml join #grml on irc.freenode.org grml-devel-blog: http://grml.supersized.org/