From 747fa382907088b3ea00ad9d6e87e6d7851232c9 Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Wed, 10 Aug 2022 17:30:41 +0200 Subject: [PATCH] Copy usr, closes #1310 --- rel/app/standalone.exs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rel/app/standalone.exs b/rel/app/standalone.exs index 54eb37321..55c2d3ee2 100644 --- a/rel/app/standalone.exs +++ b/rel/app/standalone.exs @@ -55,6 +55,9 @@ defmodule Standalone do File.cp!(file, Path.join(release_bin_dir, Path.basename(file))) end + # 4. copy usr + cp_r!(Path.join(:code.root_dir(), "usr"), Path.join(release.path, "usr")) + %{release | erts_source: erts_source} end