Re: Bug#433568: VLANs during install are important
On Sat, Jan 09, 2010 at 01:37:50PM +0100, Ferenc Wagner wrote:
> I hacked VLAN support into the Sarge installer once upon a time. It
> wasn't a big deal, like adding the vconfig binary and extending netcfg
> here and there a little bit. The problem is that you can't just
> download it like the other optional components, so it would waste memory
> in the vast majority of installations. Which wouldn't be a problem but
> in the more memory constrained situations... I can't judge this.
Do you still have the patches somewhere Ferenc?
I am also trying to get vlan support on install. I have not checked debian,
but on ubuntu 9.10, the vlan package is already available on the alternate
install CD. Thus it would not need additional storage. The 8021q kernel
module is also available in the kernel package, but not in the installer
AFAICS, getting vlan support into the installer needs to be done in three
1. Get 8021q kernel module into installer environment.
2. Install vlan package into installer environment. Only the vconfig
binary (9kb) is really needed. But it needs libc6. Is this an issue?
3. Check interface names for vlan-format and call vconfig accordingly.
Doesn't look like rocket science, IMHO. But I already stumbled on the first
step: What is the proper way to get the kernel module into the installer
ar p `find /cdrom -name linux-image-$version*.deb` data.tar.bz2 \
| tar xjf - ./lib/modules/$version/kernel/net/8021q/8021q.ko
or something similar be the proper way to do that? Or maybe anna-install
can be used to extract only one specific module from the deb file?
(BTW: is ubuntu on-topic on this list? If not, please drop me a note)