cheatsheet.md (246fc99410e637e34677260b06ab435da884bdf8) cheatsheet.md (4635bf2fecc3d47af9edac1fd41b19d465372880)
1
2# OpenBMC cheatsheet
3
4This document is intended to provide a set of recipes for common OpenBMC
5customisation tasks, without having to know the full yocto build process.
6
7## Using a local kernel build
8

--- 166 unchanged lines hidden (view full) ---

175
176## Coredump
177
178By default coredump is disabled in OpenBMC. To enable coredump:
179```
180echo '/tmp/core_%e.%p' | tee /proc/sys/kernel/core_pattern
181```
182
1
2# OpenBMC cheatsheet
3
4This document is intended to provide a set of recipes for common OpenBMC
5customisation tasks, without having to know the full yocto build process.
6
7## Using a local kernel build
8

--- 166 unchanged lines hidden (view full) ---

175
176## Coredump
177
178By default coredump is disabled in OpenBMC. To enable coredump:
179```
180echo '/tmp/core_%e.%p' | tee /proc/sys/kernel/core_pattern
181```
182
183## Cleaning up read-write file system changes
184
185You may want to investigate which file(s) are persisting through the overlay
186rwfs. To do this, you can list this path and then remove those files which
187you'd prefer the originals or remove the deletion overlay to restore files.
188
189```
190/run/initramfs/rw/cow/
191```