[15:54] <lborda> cjwatson, guys, Hi I was wondering if there is a way of loading OEMDRV drivers through preseed without using the USB method. looking at the hw-detect specifically the driver-injection-disk.sh it does not seem to support such method.
[15:55] <cjwatson> doesn't seem so
[15:55] <cjwatson> well, I mean, you can do anything with preseeding, but it would involve writing a script that does the same kinds of things that driver-injection-disk does
[15:57] <lborda> cjwatson, where should the drivers go during the install ? /var/cache/firmware ? I am looking specifically to solve this question: https://answers.launchpad.net/ubuntu-certification/+question/214703
[15:57] <lborda> but not using a usb key
[15:58] <cjwatson> /var/cache/firmware/ is if you want the .debs in question to be copied to the target
[15:58] <cjwatson> udpkg --unpack  to install them into the installer environment
[15:58] <cjwatson> you'd basically want to mimic the install_driver_pkg function, which is simple enough
[15:59] <lborda> cjwatson, thanks I will take a look at it...
[16:00] <lborda> cjwatson, it looks like an interesting feature to be added to the hw-detect pkg
[16:00] <lborda> cjwatson,  and be able to specify through a d-i option
[16:12] <xnox> lborda: alternative to usb key, i thought one can build/fetch drop custom bits into a known location during d-i run, thus could be preseeded with early script to do wget the right udebs/debs into known location. OEMDRV doesn't do much, but copy the udebs & debs into known locations.
[16:16] <lborda> xnox, yeah that would be neat. actually according to the driver-injectin-disk code we could preseed in the early command and drop the files into $dir/*.deb $dir/*.udeb $dir/*.udeb into /var/cache/firmware
[16:17] <lborda> xnox, will this also make debian-installer aware of the drivers and load the modules ?
[16:17] <lborda> xnox, ie: disk drivers
[16:20] <xnox> lborda: it should, but check that it works, it may need another "anna" preseed to fetch/use driver-inject-disk udeb and depending on the release also will need a preseed to enable-use driver-inject-disk.
[16:21] <xnox> lborda: well there is no "disk", but to hit the codepath where udebs are enable drivers for the installer, and debs are installed into target to boot later.
[16:21] <xnox> s/are enable/are installed to enable/