From 923c16c800e6434e7d32fbbd589ed8a81cc68658 Mon Sep 17 00:00:00 2001 From: "Stanislav Lechev [0xAF]" Date: Wed, 5 Jul 2023 04:21:54 +0300 Subject: [PATCH] Fix docker build in lxc environment Docker will use fuse-overlayfs in my lxc container. The problem is that when the file is moved, the mv command returns with error, saying it's the same file and cannot be moved. This is because under the hood, the file is actually the same. Easiest fix is to cp it. --- docker/scripts/add-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/scripts/add-dependencies.sh b/docker/scripts/add-dependencies.sh index 9bbc2ef6..1c516f91 100755 --- a/docker/scripts/add-dependencies.sh +++ b/docker/scripts/add-dependencies.sh @@ -59,7 +59,7 @@ WSJT_TGZ=${WSJT_DIR}.tgz wget https://downloads.sourceforge.net/project/wsjt/${WSJT_DIR}/${WSJT_TGZ} tar xfz ${WSJT_TGZ} patch -Np0 -d ${WSJT_DIR} < /wsjtx-hamlib.patch -mv /wsjtx.patch ${WSJT_DIR} +cp /wsjtx.patch ${WSJT_DIR} cmakebuild ${WSJT_DIR} rm ${WSJT_TGZ}