Skip to content
Snippets Groups Projects
Commit 38665c7c authored by Bob Mottram's avatar Bob Mottram
Browse files

Try ignoring optional packages

parent e724c5f3
No related branches found
No related tags found
No related merge requests found
......@@ -616,6 +616,8 @@ function mesh_install_peertube {
fi
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
install_postgresql
......@@ -642,28 +644,18 @@ if [ ! "$?" = "0" ]; then
echo $'PeerTube Failed to install yarn'
exit 79353234
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 install
yarn install --ignore-optional
if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to run yarn install'
exit 63754235
fi
npm install --arch=$NPM_ARCH
npm install --arch=$NPM_ARCH --no-optional
if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to install peertube'
exit 7835243
fi
npm run build --arch=$NPM_ARCH
npm run build --arch=$NPM_ARCH --no-optional
if [ ! "$?" = "0" ]; then
echo $'PeerTube failed to build peertube'
exit 5293593
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment