/srv/irclogs.ubuntu.com/2013/08/23/#ubuntu-installer.txt

infinityxnox: Naughty.17:13
xnoxinfinity: =)17:14
xnoxinfinity: yeah, i think I'll move firmware install from post-base-install.d to pre-pkgsel.d/01* such that it's almost first thing after kernel is installed.17:15
xnoxinfinity: and most importantly before update-initramfs is done.17:16
infinityIndeed.  The timing is critical.17:16
infinity(Well, there's no reason you can't trigger another in-target update-initramfs -u)17:17
infinitySUcks to slow down the install with multiple calls, but it's not world-ending either.17:17
xnoxinfinity: i just think that some of drivers, might just be drivers with no other postinst scripts et al.17:17
xnoxinfinity: and as this bug shows, all other driver disks never used proper dependencies.17:18
xnox=/17:18
xnoxinfinity: should drivers generally depend on "linux-image-3.x.y-WW-generic" ?17:21
infinityWell, dkms driver disks don't need to depend on a kernel (would be wrong if they did), but still better to shuffle them all to this later spot.17:21
infinityThis new and icky case is because they're shipping pre-compiled .ko files.17:22
xnoxinfinity: true. I wonder if moving this will break any existing driver disks, as I'll be pushing this to precise I'm guessing.17:22
xnoxinfinity: e.g. like Dell disks (which is where this feature originally came from)17:22
infinityI don't see why it would break a dkms disk, but shouldn't be too hard to test.17:23
infinityIt just means the dkms trigger will have to happen from the driver install instead of from the kernel's postinst.17:23
xnoxinfinity: true.17:23
infinityWhich should be true anyway, or their driver's don't work when you apt-get install them.17:24
infinityBut worth checking.17:24
infinitys/driver's/drivers/17:24
infinityWow, I'm typing in internet grammar.  I need to wake up.17:24
xnoxinfinity: try to install twice? or will we find bugs =)17:25
xnoxi think it ignores errors at the moment.17:25
xnoxsuperm1: are there any Dell Driver Injection Disks available publicly? e.g. for testing. I am working on a solution for bug #121604317:27
ubot2`Launchpad bug 1216043 in hw-detect (Ubuntu Saucy) "driver-inject-disk: in target debs are installed before kernel has been" [High,Confirmed] https://launchpad.net/bugs/121604317:27
xnoxsuperm1: and well see discussion above ^17:27
xnoxand I would not want to break existing driver disks.17:28
superm1xnox: AFAIK it hasn't actually been used yet.  it was added in anticipation of a factory preinstalled ubuntu server image, but thus far the machines have been certified but not preinstalled and there has been no other work put towards it17:34
superm1but to your discussion, i don't think it's appropriate that the debs included should depend on specific kernel versions17:35
superm1it's asking for breakage with every respin of an alternate ISO that includes an updated kernel17:35
xnoxsuperm1: ok. thanks for the info.17:36
superm1kentb-out: was just discussing with me plans on how to get it into deployment though, so if you make changes make sure you tie off with him17:36
xnoxack.17:37
=== kentb-out is now known as kentb
infinitysuperm1: dkms disks obviously shouldn't depend on kernel versions.  This other messed up use-case (pre-built .ko files) has to, but that shouldn't concern you guys, cause you're doing it right. :)17:39
* arges reads17:40
superm1prebuilt ko's without a way to rebuild is asking for trouble for sure17:42
infinitysuperm1: We've told this partner the same thing, yes. :P17:46
infinitysuperm1: But providing them a mechanism to ask for said trouble is still helpful, even if we disagree with their method. :)17:46
infinity(And it should just be a matter of doing the driver install a tiny bit later (after a kernel is already installed in-target) and then making sure that doens't blow up dkms disks)17:47
superm1that's unfortunate that it probably will get used by another partner before we ever got to use it in production17:47
infinitysuperm1: And if you guys aren't yet using dkms disks in production, this is perfect, as we can just test new disks going forward, not worry about breaking old ones.17:47
superm1yep17:47
xnoxarges: see proposed branch and check if that works for you https://bugs.launchpad.net/ubuntu/+source/hw-detect/+bug/121604318:03
ubot2`Launchpad bug 1216043 in hw-detect (Ubuntu Saucy) "driver-inject-disk: in target debs are installed before kernel has been" [High,Confirmed]18:03
xnoxarges: I'm off to gym and EOD/EOW, but will pop back on IRC later.18:04
infinityxnox: Your MP is full of >>><<< merge conflict markers. :P18:07
xnoxinfinity: excellent.18:08
xnoxinfinity: so you click search, find a branch, click on it, lp adds it to the target branch field, but does not move the radio button from default focus!18:09
infinityxnox: Oh, so the MP was a mistake? :)18:10
infinityThat explains a lot.18:10
xnoxinfinity: well, target branch =)18:10
xnoxinfinity: https://code.launchpad.net/~xnox/hw-detect/fix-firmware-order/+merge/18188618:10
xnoxfixed.18:10
infinityxnox: Ahh, that's much more readable.  Uselessly so, since I need the source to figure out what the file you moved is. :)18:14
* infinity looks.18:14
infinity# copy any loose firmware files to /target (incl. subdirs)18:15
infinitySRSLY?18:15
infinityWho wrote this?18:15
infinityI really, really, really wish I hadn't read that script.18:17
infinityxnox: Hrm, after I've approved it, I now wonder if the above scary bit is a problem with reordering.18:20
infinityxnox: Since it could be overwriting firmware from linux-firmware (presumably, it ran before linux-firmware was installed before you moved it)18:20
infinityHonestly, I wonder who thought that was a good idea AT ALL.  Copying random firmware from the installer to the target system just seems scary.18:21
superm150-install-firmware wasn't written as part of the driver injection disk stuff, i thought that part came from debian from earlier18:26
infinityIndeed, you just leveraged it, since it already copies debs around and installs them.18:26
infinityIn fact...18:26
infinityHrm.18:26
infinityxnox: It might be better to put 50-install-firmware back where it came from.18:27
infinityxnox: And do a new XX-driver-disk in hw-detect.pre-pkgsel.d that uses a different /tmp directory.18:27
infinityxnox: And mangle driver-injection-disk.sh to use that instead of overloading /tmp/firmware18:28
superm1also the driver injection stuff did make it up to debian, so make sure that whatever you change you commit (or get someone to sponsor) up there too to be consistent18:30
infinityxnox and I both have commit to d-i in Debian.18:30
superm1great :)18:31
xnoxinfinity: I rarely question d-i =) colin will be back on monday and I can see if that bit can be improved.19:13
infinityxnox: Fundamentally, I think it's just wrong to leverage the firmware thing to install things that aren't firmware.  Using another tmpdir and a different hook for driver disks feels cleaner.19:28
infinityxnox: And should be generally non-contentious.  I'd commit that upstream today, if it looked clean.19:28
xnoxI have tea to drink with cheesecake though =)19:44
xnoxwill do that, but not today.19:44

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!