File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ detect_native_client() {
5
5
}
6
6
7
7
export AWS_NATIVE_CLIENT=$( detect_native_client /function/lib/jni/libaws-lambda-jni.* .so)
8
- export CRAC_CRIU_OPTS=" --compress"
8
+ # Don't create dump4.log
9
+ export CRAC_CRIU_OPTS=" --compress -o -"
9
10
10
11
# Ensure small PID, for privileged-less criu to be able to restore PID by bumping.
11
12
# But not too small, to avoid clashes with other occasional processes on restore.
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ s03_checkpoint() {
75
75
}
76
76
77
77
s04_prepare_restore () {
78
- sudo rm -f cr/dump4.log # XXX
79
78
docker build -t crac-lambda-restore -f Dockerfile.restore .
80
79
}
81
80
@@ -155,7 +154,7 @@ s08_invoke_aws() {
155
154
response.json \
156
155
> log.json
157
156
158
- jq . < response.json
157
+ jq . < response.json
159
158
jq -r .LogResult < log.json | base64 -d
160
159
}
161
160
You can’t perform that action at this time.
0 commit comments