BuildingArchlinuxTemplate changed

This commit is contained in:
Olivier Medoc 2013-04-29 14:38:45 +00:00
parent b939663ba5
commit afca83a8de

View File

@ -26,8 +26,10 @@ Get all required sources
make get-sources
```
Make all required qubes components (the first use of the builder can take several hours depending on your bandwidth as it will install an archlinux chroot):
------------------------------------------------------------------------------------------------------------------------------------------------------------
Make all required qubes components
----------------------------------
The first use of the builder can take several hours depending on your bandwidth as it will install an archlinux chroot:
``` {.wiki}
make vmm-xen-vm
@ -69,7 +71,17 @@ A better fix is planned for the next python release (the bug is considered relea
Qubes-OS is now using different xenstore variable names, which makes to archlinux VM failing to boot
----------------------------------------------------------------------------------------------------
Apply the following fix in the template to revert the variable name to the old Qubes version (eg: sudo mkdir /mnt/vm; sudo mount /var/lib/qubes/vm-templates/archlinux-x64/root.img /mnt/vm; sudo chroot /mnt/vm then apply the fix, then umount /mnt/vm)
Apply the following fix in the template to revert the variable name to the old Qubes version.
You can edit the template the following way:
``` {.wiki}
sudo mkdir /mnt/vm
sudo mount /var/lib/qubes/vm-templates/archlinux-x64/root.img /mnt/vm
sudo chroot /mnt/vm
```
Then apply the fix:
``` {.wiki}
sudo sed 's:qubes-keyboard:qubes_keyboard:g' -i /etc/X11/xinit/xinitrc.d/qubes-keymap.sh
@ -102,6 +114,12 @@ sudo sed 's:qubes-netvm-domid:qubes_netvm_domid:g' -i /usr/sbin/qubes-netwatcher
sudo sed 's:qubes-netvm-external-ip:qubes_netvm_external_ip:g' -i /usr/sbin/qubes-netwatcher
```
Do not forgot to:
``` {.wiki}
umount /mnt/vm
```
The nm-applet (network manager icon) fails to start when archlinux is defined as a template-vm:
-----------------------------------------------------------------------------------------------
@ -119,3 +137,8 @@ to
DispVM, Yum proxy and most Qubes addons (thunderbird ...) have not been tested at all.
--------------------------------------------------------------------------------------
chroot-archlinux/dev/pts has not been unmounted
-----------------------------------------------
This is a known problem when there are errors during building. Just unmount what you can (or reboot your vm if you are too lazy :) )