/srv/irclogs.ubuntu.com/2009/11/24/#ubuntu-installer.txt

corp186cjwatson: so the udebs listed in the pkg-lists directory?00:07
corp186cjwatson: also, is there any way to "fork" the installation00:07
corp186instead of going through the normal install process, say I enable a certain item and then the installation needs to go through a different set of udebs00:08
corp186or maybe a different set, and then get back to the main path of udebs at a certain point00:08
cjwatsoncorp186: those listed in pkg-lists are what're used to build the initrd00:12
cjwatsoncorp186: there are various tricks that can be used to do that kind of thing, although maybe not exactly as stated - it very much depends on the situation00:12
cjwatsonFrans' paper explains a lot of it, IIRC00:13
corp186so I guess I'm missing something00:14
corp186where in the build process is the main udebs (not the ones in the initrd) defined?00:14
cjwatsonit isn't00:14
cjwatsonthe build process is responsible for building the initrd00:14
cjwatsonthe rest is determined at run-time00:14
corp186how is it determined?00:14
cjwatsonthat *is* in Frans' paper - section "anna and retrievers"00:15
corp186I think I'm looking at a different paper: http://d-i.alioth.debian.org/doc/internals/00:16
corp186I don't see that section00:16
corp186where is the paper you are referring to?00:16
cjwatsonhmm, I'm looking at something checked into d-i svn, no idea where it is on the web00:18
corp186cjwatson: do you have a repo and a path?00:18
cjwatsonanyway, any udeb with priority: standard, important, or required is automatically installed00:18
cjwatsonin expert mode you can select others00:18
cjwatsondependencies of those udebs are selected as well00:18
cjwatsonso it's all driven by the Packages file00:19
corp186cjwatson: can you point me to the doc?00:20
corp186I probably have the repo checked out somewhere :)00:21
corp186I just need a path, or even a filename00:21
cjwatsonI've just explained the relevant bit anyway00:21
corp186yeah, but I'm interested in reading more00:21
cjwatsoninstaller/doc/talks/d-i_internals/2006/d-i_internals.tex in d-i00:21
cjwatsonI can't vouch for how helpful it is - I was misremembering it as the source of http://d-i.alioth.debian.org/doc/internals/00:22
cjwatsonso actually I'd sort of rather not confuse you with potentially out-of-date information00:22
cjwatsonbut up to you00:22
corp186well, I can read code, so even if it's wrong it'll probably start me on the right path00:22
corp186thanks00:22
cjwatsonif you can read code, packages/anna/ is more useful00:23
corp186I thought that was just the udeb installer?00:23
cjwatsonyes, but that's what you're asking about00:24
corp186sort of, but either way, I have some more pointers now00:24
corp186thanks again for all the info00:24
cjwatsonanna is the udeb analogue of apt; udpkg is the udeb analogue of dpkg. But they aren't exact analogues - anna has more policy in it than apt does00:25
corp186cjwatson: the amd64 packages list for debian-installer has both grub-installer and lilo-installer, though with grub coming first in installer item ordering04:21
corp186how is the decision made between the two?04:22
=== mpt_ is now known as mpt
cjwatsoncorp186: first in installer-menu-item order wins, unless the isinstallable file in the package's control area says otherwise (which, nowadays, it normally doesn't)12:14
kim0Hi folks ... Any idea why in early_command, is not expanding "/dev/sd[a-d]" ? Which shell does early_command run in13:02
cjwatsonsh (a.k.a. dash) but that is not your problem since it understands such globs13:03
cjwatsonyou clearly have some kind of quoting problem13:03
kim0d-i preseed/early_command string for device in `ls /dev/sd[b-z]`; do dd if=/dev/zero of=$device bs=512 count=1 ; done13:04
kim0I'm getting13:05
kim0log-output: ls: /dev/sd[b-z]: No such file or directory13:05
kim0cjwatson: The exact command worked when I typed it directly into ALT+F2 shell13:06
cjwatsonwell, your symptoms match what happens if there are simply no devices matching that pattern right now13:07
cjwatsonbeyond that I don't know, and am not going to investigate fully today since I'm on holiday13:08
kim0cjwatson: I see ..13:08
kim0the device exists though13:08
kim0but thanks for the help13:09
kim0cjwatson: would something like bash -c "voodoo here" help :)13:13
cjwatsondoubt it, try 'set -x' at the start to see what it's doing, or an extra 'ls /dev; ' or something - the usual debugging techniques you might think of13:14
cjwatsonbesides, you don't have bash13:14
kim0set -x in the early command itself13:14
cjwatsonyes13:14
kim0ls /dev would go into the logs right13:14
cjwatsonI guess. Be creative, I'm not going to walk you through it all today :)13:15
kim0hehe :D13:15
kim0thanks man13:15
corp186cjwatson: so if grub-installer "wins", how is lilo-installer skipped?13:15
=== robbiew_ is now known as robbiew
corp186cjwatson: it appears to me in the main-menu.c satisfy_virtual function that for providers of dependencies, the highest prio is taken, or the lowest menu item if prios are equal15:26
corp186is this where the decision is made?15:26
rek2hi everyone I am having problem with parted seen my partitions,etc please refer to my problem for pictures here: http://ubuntuforums.org/showthread.php?p=8378529#post837852918:30
rek2I can see them with fdisk -l but the install will just not see it so I can't continue18:31
rek2:-(18:31
rek2brb18:40
=== robbiew is now known as robbiew_

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