diff --git a/Makefile b/Makefile index 877c743..2bb3867 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ C_END= \033[0m build: podman build . -t libero --volume="${PWD}/installers:/opt/microchip/installers" -daemon: +daemon: build podman run -dt --replace --name libero \ --net host \ -v "/etc/localtime:/etc/localtime" \ diff --git a/README.org b/README.org index 7f8c03a..63cd3a4 100644 --- a/README.org +++ b/README.org @@ -34,7 +34,7 @@ VENDOR snpslmd PATH/snpslmd to #+begin_example -SERVER LPOD 1702 +SERVER 1702 DAEMON actlmgrd /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/actlmgrd DAEMON mgcld /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/mgcld VENDOR snpslmd /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/snpslmd @@ -42,22 +42,14 @@ VENDOR snpslmd /opt/microchip/Libero_SoC_v2024.1/Libero/bin64/snpslmd Your mac address should already be placed there so don't worry about that. -* Build the container +* Build the container + Launch the licensing daemon #+begin_src bash -podman build -t microchip_tools . +make daemon #+end_src -* Create a podman network -#+begin_src bash -podman network create -#+end_src - -The next steps assume this network name is podman1, the default first network name. If you need to name it something else, change the ~--network~ line in the makefile target. This will be polished later. * Run libero from inside the container #+begin_src bash -export LIBERO_LICENSE_MAC= -make bash +podman exec -it --user root libero bash +. /opt/microchip/scripts/env +libero #+end_src - -You should now be root inside of your running container. It should now be as simple as calling ~libero~. -* TODO Running Libero from outside the container