mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
If /sbin/ isn't in the path, udev rules will erroneously not get
installed. Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
This commit is contained in:
1 parent
deb1c115f9
commit
e7b975b0b6
10 files changed
+40
-14
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ echo "Installing Xen from '$src' to '$dst'..."
|
||||
cp -fdRL $src/etc/init.d/* $dst/etc/init.d/
|
||||
echo "All done."
|
||||
|
||||
if [ -x /sbin/udev ] && [ ! -z `udev -V` ] && [ `/sbin/udev -V` -ge 059 ]; then
|
||||
if [ -x /sbin/udev ] && [ ! -z `/sbin/udev -V` ] && [ `/sbin/udev -V` -ge 059 ]; then
|
||||
cp -f $src/etc/udev/rules.d/*.rules $dst/etc/udev/rules.d/
|
||||
else
|
||||
cp -f $src/etc/hotplug/*.agent $dst/etc/hotplug/
|
||||
|
||||