Browse Source

add ulimit to fix "Argument list too long"

develop
Simon Vieille 4 weeks ago
parent
commit
c52020a775
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
3 changed files with 6 additions and 0 deletions
  1. 2
    0
      hooks/on-finish
  2. 2
    0
      hooks/on-start
  3. 2
    0
      report

+ 2
- 0
hooks/on-finish View File

@@ -1 +1,3 @@
1 1
 #!/bin/sh
2
+
3
+ulimit -s $ULIMIT

+ 2
- 0
hooks/on-start View File

@@ -1,5 +1,7 @@
1 1
 #!/bin/sh
2 2
 
3
+ulimit -s 65536
4
+
3 5
 if ! apt-get update >/dev/null 2>/dev/null; then
4 6
 	printf "La mise à jour de la liste des paquets à échoué.\n"
5 7
 fi

+ 2
- 0
report View File

@@ -22,6 +22,8 @@ fi
22 22
 
23 23
 cd "$SCRIPT_PATH"
24 24
 
25
+export ULIMIT=$(ulimit -s)
26
+
25 27
 ./hooks/on-start
26 28
 
27 29
 REPORT="$(

Loading…
Cancel
Save