Try ignoring optional packages

This commit is contained in:
Bob Mottram 2017-12-04 13:11:39 +00:00
parent e724c5f32f
commit 38665c7cf1
1 changed files with 5 additions and 13 deletions

View File

@ -616,6 +616,8 @@ function mesh_install_peertube {
fi fi
chroot "$rootdir" apt-get -yq install ffmpeg chroot "$rootdir" apt-get -yq install ffmpeg
chroot "$rootdir" apt-get -yq install -y gcc-multilib
chroot "$rootdir" apt-get -yq install -y g++-multilib
function_check install_postgresql function_check install_postgresql
install_postgresql install_postgresql
@ -642,28 +644,18 @@ if [ ! "$?" = "0" ]; then
echo $'PeerTube Failed to install yarn' echo $'PeerTube Failed to install yarn'
exit 79353234 exit 79353234
fi fi
npm install --arch=$NPM_ARCH bcrypt@1.0.3 --build-from-source
if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to build bcrypt'
exit 73563543
fi
npm install --arch=$NPM_ARCH fsevents@1.1.3 --build-from-source
if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to build fsevents'
exit 2846393
fi
yarn add -D webpack --network-concurrency 1 yarn add -D webpack --network-concurrency 1
yarn install yarn install --ignore-optional
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to run yarn install' echo $'PeerTube failed to run yarn install'
exit 63754235 exit 63754235
fi fi
npm install --arch=$NPM_ARCH npm install --arch=$NPM_ARCH --no-optional
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to install peertube' echo $'PeerTube failed to install peertube'
exit 7835243 exit 7835243
fi fi
npm run build --arch=$NPM_ARCH npm run build --arch=$NPM_ARCH --no-optional
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to build peertube' echo $'PeerTube failed to build peertube'
exit 5293593 exit 5293593