From 62f278cc73111749bf563d8703d20592ca751742 Mon Sep 17 00:00:00 2001 From: penguin Date: Mon, 23 Sep 2024 22:13:57 -0500 Subject: [PATCH] update readme --- Makefile | 2 +- README.org | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) 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