On Mon, 2010-12-20 at 15:37 +0100, Javier Palacios wrote:
> I've started working on the import module for this, and it
looks like
> most of the functionality was there already. There were debian and
> ubuntu classes created for the old import_factory() method of imports,
The problem with the debian imports (ubuntu also if I'm right), is
that the media import cannot perform all tasks that a redhat does.
The media is built (was at least) for device attached installs, so
kernel+initrd are no network aware. The ones required for pxe booting
must be downloaded separately. Some of the possible workflows were
Recent Ubuntu Server CD's (the one below is 10.04.1) come with
everything you need to netboot:
$ ls -l /mnt/install/netboot/ubuntu-installer/amd64/
total 13451
dr-xr-xr-x 2 root root 4096 2010-07-08 13:22 boot-screens
-r--r--r-- 1 root root 9703411 2010-07-08 13:22 initrd.gz
-r--r--r-- 1 root root 4049312 2010-07-08 13:22 linux
-r--r--r-- 1 root root 14776 2010-07-08 13:22 pxelinux.0
dr-xr-xr-x 2 root root 2048 2010-07-08 13:22 pxelinux.cfg
I'm not sure about past releases.
And this gets more complicated as debian does not care very much
about
the "released" vs. "updates" structure, so either you move your
imported packages into your repository-mirror directory or you will
download again all the media contents into your local mirror.
Can you explain exactly what this means for users?
The way I understand it.. one imports the contents of a CD, and then one
can also import packages from a repository for, say, updates. Right?
How would the debian/ubuntu way of specifying packages inhibit this?
One can feed multiple sources for an install into debian-installer with
preseed files with
d-i apt-setup/local0/repository "http://cobblerbox/ubuntu lucid main
restricted"
d-i apt-setup/local1/repository "http://cobblerbox/ubuntu lucid universe"
d-i apt-setup/local2/repository "http://cobblerbox/ubuntu lucid-updates main"
One can feed up to 9 of these in.
There's no need for new code to sync this, just run apt-mirror against
updates and it will pull down whichever components you need.