/srv/irclogs.ubuntu.com/2007/02/22/#ubuntu-installer.txt

=== evand_ [n=evand@acmns.pct.edu] has joined #ubuntu-installer
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== mpt [n=mpt@121-72-137-28.dsl.telstraclear.net] has joined #ubuntu-installer
=== evand_ [n=evand@acmns.pct.edu] has joined #ubuntu-installer
=== philwyett [n=philwyet@bb-87-81-146-45.ukonline.co.uk] has joined #ubuntu-installer
=== CIA-4 [i=cia@cia.navi.cx] has joined #ubuntu-installer
marklinux requiring restarts for a lot of partition changes sucks a lot for the installer eh10:26
markI am just installing ubuntu on a desktop machine, and the installer fails / hangs because of it10:26
cjwatsonthat should only happen if partitions on the relevant disk are mountted10:36
cjwatsonmounted10:36
cjwatsonif the partition table is unused then Linux doesn't need to be rebootted10:37
cjwatsonargh, damn t key10:37
CIA-4ubiquity: cjwatson * r1898 ubiquity/ (d-i/manifest debian/changelog): (log message trimmed)10:57
CIA-4ubiquity: * Automatic update of included source packages: apt-setup 1:0.16ubuntu4,10:57
CIA-4ubiquity:  base-installer 1.70ubuntu4, choose-mirror 2.10ubuntu2, clock-setup10:57
CIA-4ubiquity:  0.12ubuntu2, debian-installer-utils 1.42ubuntu2, migration-assistant10:57
CIA-4ubiquity:  0.4, partman-auto 62ubuntu5, partman-base 100ubuntu4,10:57
CIA-4ubiquity:  partman-basicfilesystems 51ubuntu2, partman-basicmethods 33ubuntu2,10:57
CIA-4ubiquity:  partman-efi 11ubuntu2, partman-ext3 45ubuntu2, partman-jfs 20ubuntu2,10:57
CIA-4ubiquity: cjwatson * r1899 ubiquity/debian/changelog: releasing version 1.3.2211:21
=== mpt [n=mpt@121-72-137-28.dsl.telstraclear.net] has joined #ubuntu-installer
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== chrisj [n=tortoise@dhcp-152-78-61-78.ecs.soton.ac.uk] has joined #ubuntu-installer
=== chrisj [n=tortoise@dhcp-152-78-61-78.ecs.soton.ac.uk] has joined #ubuntu-installer
=== secureboot [n=lstclair@coriakin.cse.psu.edu] has joined #ubuntu-installer
securebootwhen I fakeroot make build_monolithic, the .iso I get has the 2.6.17-10-generic kernel on it, while the modules are for 2.6.17-10-386.04:05
securebooti have udebs for the 386 modules in localdebs04:05
securebootnow, i can modify the kernel-version in the i386.cfg file to specify generic, and all works well04:05
secureboothowever, i'd like the 386 kernel - why might the generic kernel be the one being booted in the iso, instead of 386?04:05
cjwatsonyou'd need to change build/config/i386.cfg or wherever it is - somewhere under build/config anyway04:17
cjwatsonthere's a master kernel version encoded in there04:17
securebootone more question - with custom udebs - why don't all modules show up in the installer's /lib/modules?  I"d like to include more modules than are there, and all the ones built into the kernel that the udebs came from aren't included - why is this, and how do i add them so that d-i knows about them?04:19
cjwatsonbecause only Priority: standard and above ones are pulled in automatically04:20
cjwatson(above => important, required)04:20
cjwatsonnote that those that aren't in the initrd will not show up in /lib/modules until after the "Retrieving installer components from CD" or similar stage; the initrd is deliberately kept fairly small, only what's needed to boot and fetch more bits04:21
cjwatsonwe don't include everything in udebs because not everything's useful in the installer environment, and there are typically some space constraints04:21
securebootso more things will show up after a ceratin boot stage?04:25
securebootneat04:25
secureboothow does one pull in other modules then?04:26
securebootlike the aes module, for instance04:26
cjwatsonDepends04:29
cjwatsonif e.g. a partman module needs something, it can depend on it04:30
cjwatsonalternatively, the anna-install program, if an installer component needs to make a dynamic decision on what to grab04:30
securebootare all the kernel modules in SOME udeb?  For example, is the AES module guaranteed to be in some udeb, or could it just be nowhere?04:36
securebootassuming of course, i built correctly and AES is in the kernel04:38
cjwatsonno, it could be nowhere04:50
cjwatsonfor example there's no need for squashfs in the (alternate) installer04:50
cjwatsonor mouse drivers04:50
cjwatsonor the bits of X support that are in the kernel (drm)04:51
=== evand_ [n=evand@acmns.pct.edu] has joined #ubuntu-installer
securebootcjwatson: so how does one add custom modules to the installer's kernel?04:52
securebootcjwatson: i haven't seen docs on that around04:53
cjwatsoncould you clarify?04:54
securebootsay i want the installer kernel to have access to the AES module - how would I do such a thing?04:55
securebootif the AES module isn't in the udebs that are generated when I make a custom kernel, what's the best procedure?04:55
securebooti have a linux-image deb - should I get the installer to install that, and use its modules?  is that the most appropriate approach?04:55
cjwatsonwah, no04:56
securebootgood - that's ugly04:56
cjwatsonif you need it in the installer, add it to the appropriate files in debian/d-i/ or wherever it is - somewhere along those lines anyway04:56
cjwatsonyou'll need to add it to package-list and then create the right file to list what modules should be includued04:56
cjwatsonincluded04:56
cjwatsonif you look at the existing files there, it should be relatively straightforward to work out04:57
cjwatsonthe kernel-wedge program has online help (see kernel-wedge(1) for pointers)04:57
securebootare these files in the kernel source, or in d-i?04:58
cjwatsonkernel source04:58
securebootokay - i'll look into it, thanks04:58
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
securebootis there a good way to run post-install scripts?07:43
securebooti've got like 5 i want to run07:49
evandsecureboot: /usr/lib/finish-install.d, I believe.07:58
evandso /usr/lib/finish-install.d/99yourscript07:58
evandwould be the last thing to run07:58
evandif I understand your question correctly07:59
securebootevand: sounds like you do08:00
securebootevand: thanks08:00
evandno problem08:00
=== evand_ [n=evand@acmns.pct.edu] has joined #ubuntu-installer

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