cozy: disable reporting/telemetry
This commit is contained in:
parent
2f12fd8ae7
commit
57c3abf2e1
|
@ -7,5 +7,13 @@
|
||||||
hash = "sha256-Wk03NGVU7OsQu3AGILtRsQX2r+wPOt5U85cOWu4q6Uo=";
|
hash = "sha256-Wk03NGVU7OsQu3AGILtRsQX2r+wPOt5U85cOWu4q6Uo=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
postPatch = (upstream.postPatch or "") + ''
|
||||||
|
# disable all reporting.
|
||||||
|
# this can be done via the settings, but that's troublesome and easy to forget.
|
||||||
|
# specifically, i don't want moby to be making these network requests several times per hour
|
||||||
|
# while it might be roaming or trying to put the RF to sleep.
|
||||||
|
substituteInPlace cozy/application_settings.py \
|
||||||
|
--replace 'self._settings.get_int("report-level")' '0'
|
||||||
|
'';
|
||||||
passthru = (upstream.passthru or {}) // { upstream.cozy = cozy; };
|
passthru = (upstream.passthru or {}) // { upstream.cozy = cozy; };
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user