Sfoglia il codice sorgente

Try ignoring optional packages

Bob Mottram 7 anni fa
parent
commit
38665c7cf1
1 ha cambiato i file con 5 aggiunte e 13 eliminazioni
  1. 5
    13
      src/freedombone-app-peertube

+ 5
- 13
src/freedombone-app-peertube Vedi File

616
     fi
616
     fi
617
 
617
 
618
     chroot "$rootdir" apt-get -yq install ffmpeg
618
     chroot "$rootdir" apt-get -yq install ffmpeg
619
+    chroot "$rootdir" apt-get -yq install -y gcc-multilib
620
+    chroot "$rootdir" apt-get -yq install -y g++-multilib
619
 
621
 
620
     function_check install_postgresql
622
     function_check install_postgresql
621
     install_postgresql
623
     install_postgresql
642
     echo $'PeerTube Failed to install yarn'
644
     echo $'PeerTube Failed to install yarn'
643
     exit 79353234
645
     exit 79353234
644
 fi
646
 fi
645
-npm install --arch=$NPM_ARCH bcrypt@1.0.3 --build-from-source
646
-if [ ! "$?" = "0" ]; then
647
-    echo $'PeerTube failed to build bcrypt'
648
-    exit 73563543
649
-fi
650
-npm install --arch=$NPM_ARCH fsevents@1.1.3 --build-from-source
651
-if [ ! "$?" = "0" ]; then
652
-    echo $'PeerTube failed to build fsevents'
653
-    exit 2846393
654
-fi
655
 yarn add -D webpack --network-concurrency 1
647
 yarn add -D webpack --network-concurrency 1
656
-yarn install
648
+yarn install --ignore-optional
657
 if [ ! "$?" = "0" ]; then
649
 if [ ! "$?" = "0" ]; then
658
     echo $'PeerTube failed to run yarn install'
650
     echo $'PeerTube failed to run yarn install'
659
     exit 63754235
651
     exit 63754235
660
 fi
652
 fi
661
-npm install --arch=$NPM_ARCH
653
+npm install --arch=$NPM_ARCH --no-optional
662
 if [ ! "$?" = "0" ]; then
654
 if [ ! "$?" = "0" ]; then
663
     echo $'PeerTube failed to install peertube'
655
     echo $'PeerTube failed to install peertube'
664
     exit 7835243
656
     exit 7835243
665
 fi
657
 fi
666
-npm run build --arch=$NPM_ARCH
658
+npm run build --arch=$NPM_ARCH --no-optional
667
 if [ ! "$?" = "0" ]; then
659
 if [ ! "$?" = "0" ]; then
668
     echo $'PeerTube failed to build peertube'
660
     echo $'PeerTube failed to build peertube'
669
     exit 5293593
661
     exit 5293593