vm: automatically online added memory
This is needed to increase memory size above initial value on pvops kernel. Should not harm xenlinux version.
This commit is contained in:
parent
d9cd2467b0
commit
a1fc75a58b
1
common/qubes_memory.rules
Normal file
1
common/qubes_memory.rules
Normal file
@ -0,0 +1 @@
|
|||||||
|
SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"
|
@ -77,6 +77,7 @@ mkdir -p $RPM_BUILD_ROOT/etc
|
|||||||
cp serial.conf $RPM_BUILD_ROOT/var/lib/qubes/
|
cp serial.conf $RPM_BUILD_ROOT/var/lib/qubes/
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
|
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_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/
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
cp setup_ip $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/
|
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
|
/sbin/qubes_serial_login
|
||||||
/usr/bin/xenstore-watch-qubes
|
/usr/bin/xenstore-watch-qubes
|
||||||
/etc/udev/rules.d/99-qubes_network.rules
|
/etc/udev/rules.d/99-qubes_network.rules
|
||||||
|
/etc/udev/rules.d/50-qubes_memory.rules
|
||||||
/etc/sysconfig/modules/qubes_core.modules
|
/etc/sysconfig/modules/qubes_core.modules
|
||||||
/usr/lib/qubes/setup_ip
|
/usr/lib/qubes/setup_ip
|
||||||
/etc/yum/post-actions/qubes_trigger_sync_appmenus.action
|
/etc/yum/post-actions/qubes_trigger_sync_appmenus.action
|
||||||
|
Loading…
Reference in New Issue
Block a user