|
|
|
@ -50,14 +50,35 @@ The hostname of your *host* machine will be used by the container. We can use th
|
|
|
|
|
sed -i "s/<hostname>/$(hostname)/g" ./scripts/env
|
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
* Build the container + Launch the licensing daemon
|
|
|
|
|
* Usage
|
|
|
|
|
** Build the container + Launch the licensing daemon
|
|
|
|
|
#+begin_src bash
|
|
|
|
|
make daemon
|
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
* Run libero from inside the container
|
|
|
|
|
** Run Libero
|
|
|
|
|
#+begin_src bash :noeval
|
|
|
|
|
podman exec -it --user root libero bash
|
|
|
|
|
. /opt/microchip/scripts/env
|
|
|
|
|
make run
|
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
** Run libero from inside the container
|
|
|
|
|
#+begin_src bash :noeval
|
|
|
|
|
make debug
|
|
|
|
|
libero
|
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Common Issues
|
|
|
|
|
#+begin_example
|
|
|
|
|
Authorization required, but no authorization protocol specified
|
|
|
|
|
qt.qpa.xcb: could not connect to display :0
|
|
|
|
|
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
|
|
|
|
|
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
|
|
|
|
|
|
|
|
|
|
Available platform plugins are: xcb.
|
|
|
|
|
#+end_example
|
|
|
|
|
|
|
|
|
|
Fix:
|
|
|
|
|
#+begin_src bash :noeval
|
|
|
|
|
xhost +"local:podman@"
|
|
|
|
|
#+end_src
|
|
|
|
|