From 34f82b7d5710f6f2f24e0c4c0a1679f9bd8ad8c2 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Wed, 13 Sep 2017 22:54:56 +0100
Subject: [PATCH] Set npm architecture

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

diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise
index 1c53be709..21980956d 100755
--- a/src/freedombone-image-customise
+++ b/src/freedombone-image-customise
@@ -567,6 +567,7 @@ install_patchwork() {
     cat <<EOF > $rootdir/usr/bin/install_patchwork
 #!/bin/bash
 cd /etc/patchwork
+echo 'npm_config_arch=ia32' > ~/.npmrc
 npm install electron --save-dev --save-exact
 npm install
 EOF
-- 
GitLab