Configuració, proves i correcció

Ara que heu arrencat amb èxit la vostra construcció, esteu llestos per a obrir la interfície gràfica d’usuari, fusionar AppArmor al vostre port i vigilar qualsevol funcionalitat que necessiti configurar. En aquest apartat s’explica com realitzar aquestes tasques.

Si esteu fent un port GSI, moltes, si no totes les funcionalitats del dispositiu, ja haurien de funcionar “immediatament” un cop hagueu tret Lomiri i afegit AppArmor. Per aquesta raó, la portabilitat Halium-9/GSI, així com la portabilitat basada en construccions independents del nucli, normalment haurien de requerir només regles udev, pedaços d’AppArmor i només limitada, si n’hi ha, la configuració utilitzant el mètode de fitxers superposats. Si, tot i realitzar aquestes tasques, la vostra construcció basada en el GSI encara no funciona correctament, és possible que hàgiu de recórrer a la construcció d’un system.img específic per a aconseguir el vostre objectiu.

D’altra banda, la portació Halium 7.1 i la portació Halium-9.0 (quan es construeixi el system.img complet específic del dispositiu) requeriran la major quantitat de treball.

Comenceu aixecant Lomiri, ajustant la pantalla segons sigui necessari i afegint AppArmor. Els passos restants es poden realitzar en ordre arbitrari i alguns poden no aplicar-se al seu port en particular.

As you go along, it can be helpful to have a list of device functions to go by when checking what works and what needs debugging and fixing. This list, along with instructions on how to add your device to the list of devices that can run Ubuntu Touch, can be found in the informative README.md file linked here.