projects
/
kernel-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85bec47
)
- migrate from udevsettle to udevadm settle
author
Dinko Korunic
<kreator@carnet.hr>
Thu, 28 Apr 2011 12:53:42 +0000
(14:53 +0200)
committer
Dinko Korunic
<kreator@carnet.hr>
Thu, 28 Apr 2011 12:53:42 +0000
(14:53 +0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
4483849
..
806684d
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-210,7
+210,7
@@
rm -f /etc/udev/rules.d/devfs.rules /etc/udev/rules.d/compat.rules \
# ln -s ../udev.rules /etc/udev/rules.d/udev.rules
#fi
udevadm control --reload_rules >/dev/null 2>&1 || true
# ln -s ../udev.rules /etc/udev/rules.d/udev.rules
#fi
udevadm control --reload_rules >/dev/null 2>&1 || true
-udevsettle || true
+udevadm settle || true
echo -n " udev"
# update device map if possible
echo -n " udev"
# update device map if possible
@@
-273,7
+273,7
@@
echo -n " grub4"
# this will work for both Grub1 and Grub2
if ! grub-install --no-floppy "$install_device" >/dev/null 2>&1; then
echo "."
# this will work for both Grub1 and Grub2
if ! grub-install --no-floppy "$install_device" >/dev/null 2>&1; then
echo "."
- echo "CN: FATAL ERROR while running grub-install!"
+ echo "CN: FATAL ERROR while running grub-install on $install_device!"
echo "CN: Do not reboot your server and report this to OTRS immediately!"
exit 1
fi
echo "CN: Do not reboot your server and report this to OTRS immediately!"
exit 1
fi