Increase size of modules.img to 400MB

Currently its almost full. Also installing custom drivers is rather hard
with no additional space in /lib/modules...
This commit is contained in:
Marek Marczykowski-Górecki 2014-01-23 04:54:28 +01:00
parent e44ecd3778
commit 3c68dfe400

View File

@ -450,7 +450,7 @@ Qubes domU kernel.
%post qubes-vm
mkdir /tmp/qubes-modules-%kernelrelease
truncate -s 200M /tmp/qubes-modules-%kernelrelease.img
truncate -s 400M /tmp/qubes-modules-%kernelrelease.img
mkfs -t ext3 -F /tmp/qubes-modules-%kernelrelease.img > /dev/null
mount /tmp/qubes-modules-%kernelrelease.img /tmp/qubes-modules-%kernelrelease -o loop
cp -a -t /tmp/qubes-modules-%kernelrelease %vm_install_dir/modules/%kernelrelease