~smb/ubuntu/lucid/initramfs-tools/proposed

« back to all changes in this revision

Viewing changes to mkinitramfs

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2009-12-18 03:18:28 UTC
  • Revision ID: james.westby@ubuntu.com-20091218031828-5gec09e8vq3hia2s
Tags: 0.92bubuntu58
* Add new initramfs-tools-bin package containing a binary that uses
  libudev to wait for udev to create the udev device, or wait for udev
  to finish processing if we catch it in the act, and returns the
  filesystem type as already probed by udev.
  - This avoids calls to udevadm settle, which make us wait for irrelevant
    modules that we don't need.
  - This avoids duplicate calls to blkid, which since they probe the block
    device directly, are expensive
  - This does not use fstype; which avoids issues with that and blkid
    returning different answers (since everything else throughout the
    entire system now uses blkid)
* scripts/local: Rewrite to use wait-for-root rather than looping over
  our own shell attempts to do the same.
* mkinitramfs:
  - include wait-for-root
  - mkinitramfs: Don't quote modules.*map, so we actually expand it.
* hooks/thermal:
  - don't force load fan or thermal, they're generally built-in and if not
    will be loaded by udev anyway
* scripts/panic/keymap:
  - auto-generated from the init-top keymap file, with the OPTION= removed,
    so keymap will always be set on panic

* Remove accidentally included test initramfs.  :-)

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
        done
304
304
fi
305
305
 
 
306
copy_exec /usr/lib/initramfs-tools/bin/wait-for-root /sbin
 
307
 
306
308
# Modutils
307
309
copy_exec /sbin/modprobe /sbin
308
310
copy_exec /sbin/depmod /sbin
329
331
 
330
332
# generate module deps
331
333
depmod -a -b "${DESTDIR}" ${version}
332
 
rm "${DESTDIR}/lib/modules/${version}/modules.*map"
 
334
rm "${DESTDIR}"/lib/modules/${version}/modules.*map
333
335
 
334
336
# Apply DSDT to initramfs
335
337
if [ -e "${CONFDIR}/DSDT.aml" ]; then