瀏覽代碼

Include leveldown

Bob Mottram 7 年之前
父節點
當前提交
c4a8f8718f
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      src/freedombone-image-customise

+ 3
- 2
src/freedombone-image-customise 查看文件

@@ -569,8 +569,9 @@ install_patchwork() {
569 569
     cat <<EOF > $rootdir/usr/bin/install_patchwork
570 570
 #!/bin/bash
571 571
 cd /etc/patchwork
572
-npm install --arch=$NPM_ARCH electron
573
-npm install --arch=$NPM_ARCH
572
+npm install --arch=$NPM_ARCH electron --save -g
573
+npm install --arch=$NPM_ARCH leveldown --save -g
574
+npm install --arch=$NPM_ARCH --save -g
574 575
 EOF
575 576
     chroot "$rootdir" /bin/chmod +x /usr/bin/install_patchwork
576 577
     chroot "$rootdir" /usr/bin/install_patchwork