File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ detect_native_client() {
55}
66
77export 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 -"
910
1011# Ensure small PID, for privileged-less criu to be able to restore PID by bumping.
1112# 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() {
7575}
7676
7777s04_prepare_restore () {
78- sudo rm -f cr/dump4.log # XXX
7978 docker build -t crac-lambda-restore -f Dockerfile.restore .
8079}
8180
@@ -155,7 +154,7 @@ s08_invoke_aws() {
155154 response.json \
156155 > log.json
157156
158- jq . < response.json
157+ jq . < response.json
159158 jq -r .LogResult < log.json | base64 -d
160159}
161160
You can’t perform that action at this time.
0 commit comments