Different architecture specification method
This commit is contained in:
parent
34f82b7d57
commit
bee662a55d
|
@ -567,8 +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 --arch=ia32 electron
|
||||
npm install
|
||||
EOF
|
||||
chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
|
||||
|
|
Loading…
Reference in New Issue