~peter-pearse/ubuntu/oneiric/udev/prop001

« back to all changes in this revision

Viewing changes to debian/udev.initramfs-hook

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-11-12 18:35:55 UTC
  • Revision ID: james.westby@ubuntu.com-20101112183555-ut0j01jhwwzv5ip7
Tags: 164-3
debian/udev.initramfs-hook: If /sbin/udevadm.upgrade exists, copy that
into the initramfs instead of the shell script wrapper that we have during
udev upgrades. (LP: #672964)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
# Copy across the udev binaries
27
27
copy_exec /sbin/udevd /sbin
28
 
copy_exec /sbin/udevadm /sbin
 
28
if [ -x /sbin/udevadm.upgrade ]; then
 
29
    copy_exec /sbin/udevadm.upgrade /sbin/udevadm
 
30
else
 
31
    copy_exec /sbin/udevadm /sbin
 
32
fi
29
33
 
30
34
# Copy udev configuration
31
35
mkdir -p ${DESTDIR}/etc/udev