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
|
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
|
||||||
|
|
Loading…
Reference in New Issue