Skip to content

Commit

Permalink
udevtrigger replacement.
Browse files Browse the repository at this point in the history
* New udev (>= 1.24-1) replaced some binaries (here udevtrigger) with
  udevadm command line options, e.g. "udevtrigger" -> "udevadm trigger".

Signed-off-by: Marco Amadori <marco.amadori@gmail.com>
  • Loading branch information
mammadori committed Jul 12, 2008
1 parent 2a2e620 commit 2931f7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hooks/live
Expand Up @@ -126,7 +126,7 @@ fi
copy_exec /usr/bin/md5sum /bin

# Program: udev
copy_exec /sbin/udevtrigger /sbin
copy_exec /sbin/udevadm /sbin
copy_exec /sbin/udevsettle /sbin
copy_exec /usr/bin/udevinfo /bin

Expand Down
4 changes: 2 additions & 2 deletions scripts/live
Expand Up @@ -650,7 +650,7 @@ do_netmount ()

modprobe -q af_packet # For DHCP

udevtrigger
udevadm trigger
udevsettle

ipconfig ${DEVICE} | tee /netboot.config
Expand Down Expand Up @@ -1041,7 +1041,7 @@ setup_unionfs ()
modprobe -q -b ${module}
done

udevtrigger
udevadm trigger
udevsettle

# For some reason, udevsettle does not block in this scenario,
Expand Down
2 changes: 1 addition & 1 deletion scripts/live-bottom/23networking
Expand Up @@ -46,7 +46,7 @@ iface lo inet loopback
EOF

udevtrigger
udevadm trigger
udevsettle

if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ]
Expand Down

0 comments on commit 2931f7a

Please sign in to comment.