mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-10-11 01:58:33 -04:00
BuildingArchlinuxTemplate changed
This commit is contained in:
parent
b939663ba5
commit
afca83a8de
1 changed files with 26 additions and 3 deletions
|
@ -26,8 +26,10 @@ Get all required sources
|
||||||
make get-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}
|
``` {.wiki}
|
||||||
make vmm-xen-vm
|
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
|
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}
|
``` {.wiki}
|
||||||
sudo sed 's:qubes-keyboard:qubes_keyboard:g' -i /etc/X11/xinit/xinitrc.d/qubes-keymap.sh
|
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
|
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:
|
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.
|
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 :) )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue