diff --git a/common/qubes_memory.rules b/common/qubes_memory.rules new file mode 100644 index 0000000..9a0c95a --- /dev/null +++ b/common/qubes_memory.rules @@ -0,0 +1 @@ +SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online" diff --git a/rpm_spec/core-commonvm.spec b/rpm_spec/core-commonvm.spec index e4518ed..6f2fe77 100644 --- a/rpm_spec/core-commonvm.spec +++ b/rpm_spec/core-commonvm.spec @@ -77,6 +77,7 @@ 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/99-qubes_network.rules +cp qubes_memory.rules $RPM_BUILD_ROOT/etc/udev/rules.d/50-qubes_memory.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/ @@ -240,6 +241,7 @@ rm -rf $RPM_BUILD_ROOT /sbin/qubes_serial_login /usr/bin/xenstore-watch-qubes /etc/udev/rules.d/99-qubes_network.rules +/etc/udev/rules.d/50-qubes_memory.rules /etc/sysconfig/modules/qubes_core.modules /usr/lib/qubes/setup_ip /etc/yum/post-actions/qubes_trigger_sync_appmenus.action