Different architecture specification method

This commit is contained in:
Bob Mottram 2017-09-13 23:14:21 +01:00
parent 34f82b7d57
commit bee662a55d
1 changed files with 1 additions and 2 deletions

View File

@ -567,8 +567,7 @@ install_patchwork() {
cat <<EOF > $rootdir/usr/bin/install_patchwork cat <<EOF > $rootdir/usr/bin/install_patchwork
#!/bin/bash #!/bin/bash
cd /etc/patchwork cd /etc/patchwork
echo 'npm_config_arch=ia32' > ~/.npmrc npm install --arch=ia32 electron
npm install electron --save-dev --save-exact
npm install npm install
EOF EOF
chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork