From ccde4f7bf3e6d10b06b9afeb6873b5c9e18bc175 Mon Sep 17 00:00:00 2001 From: John Ramsden Date: Mon, 27 Jul 2020 21:33:28 -0700 Subject: [PATCH] Remove cp amd-ucode LICENSE File missing leading to error --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7163e8b..d1ba897 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,9 @@ RUN chmod +x "${ALEZ_BUILD_DIR}/iso/airootfs/usr/local/share/ALEZ/alez.sh" RUN ln -s "/usr/local/share/ALEZ/alez.sh" "${ALEZ_BUILD_DIR}/iso/airootfs/usr/local/bin/alez" +RUN sed -i '\;cp\ \"\${work_dir}/x86_64/airootfs/usr/share/licenses/amd-ucode/LICENSE\";d' "${ALEZ_BUILD_DIR}/iso/build.sh" && \ + sed -i '\;\"\${work_dir}/iso/${install_dir}/boot/amd_ucode.LICENSE\";d' "${ALEZ_BUILD_DIR}/iso/build.sh" + VOLUME "${ALEZ_BUILD_DIR}/iso/out" WORKDIR "${ALEZ_BUILD_DIR}/iso"