Bläddra i källkod

Add zstd package for new openwrt IB compression

bryan 3 månader sedan
förälder
incheckning
2ee0ed2a09
1 ändrade filer med 5 tillägg och 8 borttagningar
  1. 5 8
      openwrtbuilder

+ 5 - 8
openwrtbuilder

@@ -289,8 +289,8 @@ install_dependencies() {
             wget
             python3
             axel
-            perl-IPC-Cmd)
-          ;;
+            perl-IPC-Cmd
+            zstd) ;;
         debian|ubuntu)
           pkg_list+=(
             build-essential
@@ -305,12 +305,9 @@ install_dependencies() {
             wget
             unzip
             python
-            axel)
-          ;;
-        *)
-          debug "Skipping dependency install, your OS is unsupported"
-          return 1
-          ;;
+            axel
+            zstd) ;;
+        *) debug "Unsupported OS for automatic dependency install"; return 1 ;;
       esac
     fi