[06:54] So I need some generic help with initramfs-tools. [06:55] In 8.04 I placed an extra script in /usr/share/initramfs-tools/scripts/casper-bottom/13home, which adds a line to /root/etc/fstab (prior to pivot_root). [06:55] When I do the same in 10.04, and run "update-initramfs -u" to regenerate the ramdisk, I see that 13home is being executed *at update-initramfs time*. That is insane, and I don't understand why it's happening. [07:11] OK, I think I worked it out [07:12] It seems that nowadays update-initramfs calls *every script* at generate time, with a single argument "prereq". [07:12] And all the scripts separately have a check "if $1 is prereq, exit immediately". [11:49] twb: yup. speeds up boot quite a bit, but it did require every script to be changed. [11:49] doing the ordering at boot time with relatively few tools was slow [11:50] Hang on; are you saying that the files in casper-bottom/* are reordered, a la insserv? [11:50] yes, initramfs-tools does that for everything - casper-bottom/* happened to be already ordered by way of numbers in the filenames, but not everything was [11:51] I see. [11:52] So my casper-bottom/foo scripts should emit something like "X-Start-Before: pivot_root" and "Depends: rootfs" ? [11:53] Or: where's the best place to read documentation about this [12:01] no, it isn't *actually* insserv [12:01] you can just have them exit immediately when called with the 'prereqs' argument, and then filename order will be used [12:02] otherwise, echo your script's dependencies to stdout when called with 'prereqs', and then exit immediately [12:02] that's about as far as it goes [12:02] /usr/share/doc/initramfs-tools/examples/example_script documents it [12:03] (and _hook) [12:11] AFAICT nothing in my system has a non-empty PREREQS="" lst [12:11] *list [12:22] you're not running lucid then? [12:22] $ grep ^PREREQ /usr/share/initramfs-tools/scripts/init-top/console_setup [12:22] PREREQ="framebuffer" [12:22] $ grep ^PREREQ /usr/share/initramfs-tools/scripts/init-top/udev [12:22] PREREQ="all_generic_ide blacklist" [12:22] etc. [12:23] although casper doesn't use it, we use it fairly extensively in initramfs-tools itself [12:24] I was looking at Sid [12:25] It is still synchronous? [12:25] unstable's initramfs-tools doesn't appear to use it, though it has the facility (merged from Ubuntu) [12:25] yes, it's still synchronous [12:25] OK, thanks [12:34] debian-installer: cjwatson * r1318 ubuntu/ (7 files in 2 dirs): Move to 2.6.35-4 kernels. [12:35] debian-installer: cjwatson * r1319 ubuntu/debian/changelog: releasing version 20100211ubuntu8 [14:36] debian-installer: cjwatson * r1320 ubuntu/ (3 files in 3 dirs): Argh. It'\''s console-setup-udeb, not console-setup. === bladernr is now known as bladernr-afk === bladernr-afk is now known as bladernr === bladernr is now known as bladernr_ === JanC_ is now known as JanC [19:18] partman-basicfilesystems: cjwatson * r585 ubuntu/ (debian/changelog fstab.d/basic): Don't add umask=007,gid=46 for EFI System Partitions. [19:19] partman-basicfilesystems: cjwatson * r586 ubuntu/debian/changelog: releasing version 63ubuntu5 [20:46] repost of a question send to #ubuntu-devel: is there any way we can force installation of a restricted driver at install time, through preseeding? Would invoking "jockey-text -e nvidia" as a late_command be sufficient?