From 626bd1568a25f7357d50f61a21d32010be379b1d Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 9 Jul 2011 11:46:34 +0200 Subject: [PATCH] vm: fix udev rules for VM network hotplug --- rpm_spec/core-commonvm.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpm_spec/core-commonvm.spec b/rpm_spec/core-commonvm.spec index 624c470..bd927c9 100644 --- a/rpm_spec/core-commonvm.spec +++ b/rpm_spec/core-commonvm.spec @@ -76,7 +76,7 @@ cp xenstore-watch $RPM_BUILD_ROOT/usr/bin/xenstore-watch-qubes mkdir -p $RPM_BUILD_ROOT/etc cp serial.conf $RPM_BUILD_ROOT/var/lib/qubes/ mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d -cp qubes_network.rules $RPM_BUILD_ROOT/etc/udev/rules.d/ +cp qubes_network.rules $RPM_BUILD_ROOT/etc/udev/rules.d/99-qubes_network.rules mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes/ cp setup_ip $RPM_BUILD_ROOT/usr/lib/qubes/ cp qubes_download_dom0_updates.sh $RPM_BUILD_ROOT/usr/lib/qubes/ @@ -197,7 +197,7 @@ do continue fi - if [ $(basename $f) == "qubes.rules" ] ; then + if [ $(basename $f) == "99-qubes_network.rules" ] ; then continue fi @@ -236,7 +236,7 @@ rm -rf $RPM_BUILD_ROOT /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes* /sbin/qubes_serial_login /usr/bin/xenstore-watch-qubes -/etc/udev/rules.d/qubes_network.rules +/etc/udev/rules.d/99-qubes_network.rules /etc/sysconfig/modules/qubes_core.modules /usr/lib/qubes/setup_ip /etc/yum/post-actions/qubes_trigger_sync_appmenus.action