From f1199d0d422d6338ed5837e0af876521ae5f1849 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sun, 17 Sep 2017 18:13:38 +0100
Subject: [PATCH] rootdir

---
 src/freedombone-image-customise | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise
index 66c0e697a..99434a07f 100755
--- a/src/freedombone-image-customise
+++ b/src/freedombone-image-customise
@@ -595,7 +595,7 @@ EOF
     chmod +x $rootdir/usr/bin/start_patchwork
 
     # Copy icon to an accesible location
-    cp /root/$PROJECT_NAME/img/icon_patchwork.png /etc/patchwork/icon_patchwork.png
+    cp $rootdir/root/$PROJECT_NAME/img/icon_patchwork.png $rootdir/etc/patchwork/icon_patchwork.png
 }
 
 initialise_mesh() {
-- 
GitLab