vm: Load evtchn module by script in /etc/sysconfig/modules
This commit is contained in:
parent
af7fb11a4a
commit
11a96f70de
@ -15,8 +15,6 @@ start()
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
modprobe evtchn
|
|
||||||
|
|
||||||
# Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read
|
# Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read
|
||||||
chmod 666 /proc/xen/xenbus
|
chmod 666 /proc/xen/xenbus
|
||||||
|
|
||||||
|
1
common/qubes_core.modules
Executable file
1
common/qubes_core.modules
Executable file
@ -0,0 +1 @@
|
|||||||
|
modprobe xen-evtchn || modprobe evtchn
|
@ -86,6 +86,8 @@ mkdir -p $RPM_BUILD_ROOT/usr/lib/qubes
|
|||||||
cp qubes_trigger_sync_appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes/
|
cp qubes_trigger_sync_appmenus.sh $RPM_BUILD_ROOT/usr/lib/qubes/
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/dom0-updates
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes/dom0-updates
|
||||||
|
|
||||||
|
install -D qubes_core.modules $RPM_BUILD_ROOT/etc/sysconfig/modules/qubes_core.modules
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/lib/firmware
|
mkdir -p $RPM_BUILD_ROOT/lib/firmware
|
||||||
ln -s /lib/modules/firmware $RPM_BUILD_ROOT/lib/firmware/updates
|
ln -s /lib/modules/firmware $RPM_BUILD_ROOT/lib/firmware/updates
|
||||||
|
|
||||||
@ -235,6 +237,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/qubes_network.rules
|
/etc/udev/rules.d/qubes_network.rules
|
||||||
|
/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
|
||||||
/usr/lib/qubes/qubes_trigger_sync_appmenus.sh
|
/usr/lib/qubes/qubes_trigger_sync_appmenus.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user